diff options
Diffstat (limited to 'gnu/usr.bin/binutils/gprof/gen-c-prog.awk')
-rw-r--r-- | gnu/usr.bin/binutils/gprof/gen-c-prog.awk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/gprof/gen-c-prog.awk b/gnu/usr.bin/binutils/gprof/gen-c-prog.awk index b59c1f8d8dd..b235a64a451 100644 --- a/gnu/usr.bin/binutils/gprof/gen-c-prog.awk +++ b/gnu/usr.bin/binutils/gprof/gen-c-prog.awk @@ -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,6 +13,7 @@ NR == 1 { print "}" curfun = FUNCTION print "" + print "void ", FUNCTION, "PARAMS ((FILE *));" print "void"; printf "%s (file)\n", FUNCTION print " FILE *file;"; |