Commit 4043d9c1 by John David Anglin Committed by John David Anglin

* libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.

From-SVN: r73191
parent edc7c9d5
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
2003-11-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 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. * collect2.c (scan_libraries): Fix typos.
PR preprocessor/12847 PR preprocessor/12847
......
...@@ -1690,8 +1690,9 @@ __do_global_ctors (void) ...@@ -1690,8 +1690,9 @@ __do_global_ctors (void)
For systems which support a .init section we use the .init section For systems which support a .init section we use the .init section
to run __do_global_ctors, so we need not do anything here. */ to run __do_global_ctors, so we need not do anything here. */
extern void SYMBOL__MAIN (void);
void void
SYMBOL__MAIN () SYMBOL__MAIN (void)
{ {
/* Support recursive calls to `main': run initializers just once. */ /* Support recursive calls to `main': run initializers just once. */
static int initialized; static int initialized;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment