This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[PATCH RFC] PARAMS elimination: copying.awk
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH RFC] PARAMS elimination: copying.awk
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Thu, 22 Jun 2000 00:27:25 -0700
[Whew! The last file, I think.]
More PARAMS elimination... As before, I'll wait two days for comments
and objections before committing the changes below.
BTW, I just noticed that copying.c had its PARAMS eliminated in my
mega-patch on 2000-05-27. So it's about time that copying.awk got
fixed up to match.
* copying.awk: Eliminate use of PARAMS from this file.
Index: copying.awk
===================================================================
RCS file: /cvs/src/src/gdb/copying.awk,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 copying.awk
--- copying.awk 1999/04/16 01:33:59 1.1.1.1
+++ copying.awk 2000/06/22 07:19:59
@@ -7,11 +7,11 @@
print "#include \"command.h\""
print "#include \"gdbcmd.h\""
print ""
- print "static void show_copying_command PARAMS ((char *, int));"
+ print "static void show_copying_command (char *, int);"
print ""
- print "static void show_warranty_command PARAMS ((char *, int));"
+ print "static void show_warranty_command (char *, int);"
print ""
- print "void _initialize_copying PARAMS ((void));"
+ print "void _initialize_copying (void);"
print ""
print "extern int immediate_quit;";
print "static void";