* alpha.c: Add missing prototypes.
authorAlan Modra <amodra@gmail.com>
Thu, 9 Aug 2001 14:57:42 +0000 (14:57 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 9 Aug 2001 14:57:42 +0000 (14:57 +0000)
* sparc.c: Likewise.
* tahoe.c: Likewise.
* vax.c: Likewise.
* i386.c: Likewise.
(i386_iscall): Don't use DEFUN.

gprof/ChangeLog
gprof/alpha.c
gprof/i386.c
gprof/sparc.c
gprof/tahoe.c
gprof/vax.c

index df9019b..72ab53e 100644 (file)
@@ -1,3 +1,12 @@
+2001-08-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * alpha.c: Add missing prototypes.
+       * sparc.c: Likewise.
+       * tahoe.c: Likewise.
+       * vax.c: Likewise.
+       * i386.c: Likewise.
+       (i386_iscall): Don't use DEFUN.
+
 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * NOTES: Rename to README for consistency with other binutils.
index 8aad74d..edf244b 100644 (file)
@@ -62,6 +62,7 @@ alpha_Instruction;
 
 static Sym indirect_child;
 
+void alpha_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
 
 /*
  * On the Alpha we can only detect PC relative calls, which are
index 338a443..8836dc3 100644 (file)
 #include "hist.h"
 #include "symtab.h"
 
+int i386_iscall PARAMS ((unsigned char *));
+void i386_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
 
 int
-DEFUN (i386_iscall, (ip), unsigned char *ip)
+i386_iscall (ip)
+     unsigned char *ip;
 {
   if (*ip == 0xe8)
     return 1;
index 0365827..9ffdeb0 100644 (file)
@@ -27,6 +27,8 @@
      */
 #define        CALL    (0xc0000000)
 
+void sparc_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
+
 void
 sparc_find_call (parent, p_lowpc, p_highpc)
      Sym *parent;
index 750c7ad..f9f72c0 100644 (file)
@@ -46,6 +46,11 @@ typedef enum tahoe_opermodes tahoe_operandenum;
  */
 Sym indirectchild;
 
+tahoe_operandenum tahoe_operandmode PARAMS ((unsigned char *));
+char *tahoe_operandname PARAMS ((tahoe_operandenum));
+long tahoe_operandlength PARAMS ((unsigned char *));
+bfd_vma tahoe_reladdr PARAMS ((char *));
+void tahoe_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
 
 tahoe_operandenum
 tahoe_operandmode (modep)
index 0d7cc30..9d67430 100644 (file)
@@ -53,6 +53,12 @@ struct modebyte
 Sym indirectchild;
 
 
+static operandenum vax_operandmode PARAMS ((struct modebyte *));
+static char *vax_operandname PARAMS ((operandenum));
+static long vax_operandlength PARAMS ((struct modebyte *));
+static bfd_vma vax_reladdr PARAMS ((struct modebyte *));
+void vax_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
+
 static operandenum
 vax_operandmode (modep)
      struct modebyte *modep;