aboutsummaryrefslogtreecommitdiff
path: root/gprof/i386.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-09 14:57:42 +0000
committerAlan Modra <amodra@gmail.com>2001-08-09 14:57:42 +0000
commit5789ecea4c53e1fa61db1211f4e3f132bbd57788 (patch)
treede68f18fb58c99f4a69ff4ddfaacbdb30ed54ac2 /gprof/i386.c
parentbadaf34c728a73cd58e339219e49a1774878c9fa (diff)
downloadgdb-5789ecea4c53e1fa61db1211f4e3f132bbd57788.zip
gdb-5789ecea4c53e1fa61db1211f4e3f132bbd57788.tar.gz
gdb-5789ecea4c53e1fa61db1211f4e3f132bbd57788.tar.bz2
* alpha.c: Add missing prototypes.
* sparc.c: Likewise. * tahoe.c: Likewise. * vax.c: Likewise. * i386.c: Likewise. (i386_iscall): Don't use DEFUN.
Diffstat (limited to 'gprof/i386.c')
-rw-r--r--gprof/i386.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gprof/i386.c b/gprof/i386.c
index 338a443..8836dc3 100644
--- a/gprof/i386.c
+++ b/gprof/i386.c
@@ -22,9 +22,12 @@
#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;