]> Git Repo - binutils.git/blobdiff - gprof/i386.c
(Duplicate change from p3.)
[binutils.git] / gprof / i386.c
index cdced1c9b8b2d26afb67329474d2525f001d0c40..50e99803efac490316c230fff0cc7cc6dbedc499 100644 (file)
@@ -47,9 +47,15 @@ nltype       indirectchild = {
        (arctype *) 0                   /* list of callee arcs */
     };
 
+#ifdef __STDC__
 int
-iscall (unsigned char *ip) {
-  if (*ip == 0xeb || *ip = 0x9a) 
+iscall (unsigned char *ip)
+#else
+int iscall(ip)
+       unsigned char *ip;
+#endif /* __STDC__ */
+{
+  if (*ip == 0xeb || *ip == 0x9a) 
     return 1;
   return 0;
 }
@@ -95,8 +101,7 @@ findcall( parentp , p_lowpc , p_highpc )
           *    check that this is the address of 
           *    a function.
           */
-         destpc = ( (unsigned long)instructp + 5 
-           - (unsigned long) textspace;
+         destpc = ( (unsigned long)instructp + 5 - (unsigned long) textspace);
          if ( destpc >= s_lowpc && destpc <= s_highpc ) {
            childp = nllookup( destpc );
 #                      ifdef DEBUG
This page took 0.023289 seconds and 4 git commands to generate.