aboutsummaryrefslogtreecommitdiff
path: root/gprof/gen-c-prog.awk
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/gen-c-prog.awk')
-rw-r--r--gprof/gen-c-prog.awk26
1 files changed, 0 insertions, 26 deletions
diff --git a/gprof/gen-c-prog.awk b/gprof/gen-c-prog.awk
deleted file mode 100644
index b59c1f8..0000000
--- a/gprof/gen-c-prog.awk
+++ /dev/null
@@ -1,26 +0,0 @@
-NR == 1 {
- FS="\"";
- 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>"
-}
-
- {
- if (curfun != FUNCTION)
- {
- if (curfun)
- print "}"
- curfun = FUNCTION
- print ""
- print "void";
- printf "%s (file)\n", FUNCTION
- print " FILE *file;";
- print "{";
- }
- printf " fputs (\"";
- for (i = 1; i < NF; i++)
- printf "%s\\\"", $i;
- printf "%s\\n\", file);\n", $NF;
-}
-
-END { print "}" }