This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
cppmain.c ANSI prototype
- To: gcc-patches at gcc dot gnu dot org
- Subject: cppmain.c ANSI prototype
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Tue, 16 Jan 2001 00:20:15 +1100 (EST)
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);