diff options
author | Sean Eric Fagan <sef@cygnus> | 1992-03-27 22:11:14 +0000 |
---|---|---|
committer | Sean Eric Fagan <sef@cygnus> | 1992-03-27 22:11:14 +0000 |
commit | 46f88c11388317086f7963b7ff3cfdd0aad48941 (patch) | |
tree | afcecdfcf9d8727fed17c3921872967349f33d0a /gprof/i386.c | |
parent | a95888ed71f7a05536e5effabf054a624d71faa7 (diff) | |
download | gdb-46f88c11388317086f7963b7ff3cfdd0aad48941.zip gdb-46f88c11388317086f7963b7ff3cfdd0aad48941.tar.gz gdb-46f88c11388317086f7963b7ff3cfdd0aad48941.tar.bz2 |
More cleanups for gprof, especially with the '386 target.
Diffstat (limited to 'gprof/i386.c')
-rw-r--r-- | gprof/i386.c | 8 |
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; |