aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/gen-c-prog.awk')
-rw-r--r--gprof/gen-c-prog.awk3
1 files changed, 1 insertions, 2 deletions
diff --git a/gprof/gen-c-prog.awk b/gprof/gen-c-prog.awk
index d91694072b4..c66cf45d0be 100644
--- a/gprof/gen-c-prog.awk
+++ b/gprof/gen-c-prog.awk
@@ -15,8 +15,7 @@ NR == 1 {
print ""
print "void ", FUNCTION, "(FILE *);"
print "void";
- printf "%s (file)\n", FUNCTION
- print " FILE *file;";
+ printf "%s (FILE *file)\n", FUNCTION
print "{";
}
printf " fputs (\"";