This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

cppmain.c ANSI prototype


Breaks K&R compile.

	* cppmain.c (general_init): Don't use ANSI prototype.

Alan Modra
-- 
Linuxcare.  Support for the Revolution.

--- egcs/gcc/cppmain.c	Sun Jan 14 22:16:11 2001
+++ newegcs/gcc/cppmain.c	Mon Jan 15 23:43:06 2001
@@ -132,7 +132,8 @@ main (argc, argv)
 
 /* Store the program name, and set the locale.  */
 static void
-general_init (const char *argv0)
+general_init (argv0)
+     const char *argv0;
 {
   progname = argv0 + strlen (argv0);
 


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