gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gprof / gen-c-prog.awk
index b59c1f8d8dd353d0850d25a42c310ce1160eaf14..c66cf45d0becc7ba006fa84439979aed2716b0ba 100644 (file)
@@ -3,6 +3,7 @@ NR == 1 {
     print "/* ==> Do not modify this file!!  It is created automatically"
     printf "   from %s using the gen-c-prog.awk script.  <== */\n\n", FILE
     print "#include <stdio.h>"
+    print "#include \"ansidecl.h\""
 }
 
        {
@@ -12,9 +13,9 @@ NR == 1       {
                print "}"
              curfun = FUNCTION
              print ""
+             print "void ", FUNCTION, "(FILE *);"
              print "void";
-             printf "%s (file)\n", FUNCTION
-             print "     FILE *file;";
+             printf "%s (FILE *file)\n", FUNCTION
              print "{";
            }
          printf "  fputs (\"";
This page took 0.023455 seconds and 4 git commands to generate.