aboutsummaryrefslogtreecommitdiff
path: root/gprof/i386.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/i386.c')
-rw-r--r--gprof/i386.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gprof/i386.c b/gprof/i386.c
index dc28611..50e9980 100644
--- a/gprof/i386.c
+++ b/gprof/i386.c
@@ -47,8 +47,14 @@ nltype indirectchild = {
(arctype *) 0 /* list of callee arcs */
};
+#ifdef __STDC__
int
-iscall (unsigned char *ip) {
+iscall (unsigned char *ip)
+#else
+int iscall(ip)
+ unsigned char *ip;
+#endif /* __STDC__ */
+{
if (*ip == 0xeb || *ip == 0x9a)
return 1;
return 0;