* libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Sun, 2 Nov 2003 00:16:33 +0000 (00:16 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 2 Nov 2003 00:16:33 +0000 (00:16 +0000)
From-SVN: r73191

gcc/ChangeLog
gcc/libgcc2.c

index 6289d82d6845a0559e3f2f5e67f7fa6f47ab90a0..16f72a6fbb10b9520adde8d474a1a26dc219b942 100644 (file)
@@ -10,6 +10,8 @@
 
 2003-11-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
+       * libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.
+
        * collect2.c (scan_libraries): Fix typos.
 
        PR preprocessor/12847
index 05cb315cb9d359c4d276e3774c24fce58861f520..0827d833f52171fd8190ff460d8f7f79c632abf7 100644 (file)
@@ -1690,8 +1690,9 @@ __do_global_ctors (void)
    For systems which support a .init section we use the .init section
    to run __do_global_ctors, so we need not do anything here.  */
 
+extern void SYMBOL__MAIN (void);
 void
-SYMBOL__MAIN ()
+SYMBOL__MAIN (void)
 {
   /* Support recursive calls to `main': run initializers just once.  */
   static int initialized;