This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH RFC] PARAMS elimination: copying.awk


[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";

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]