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

From-SVN: r73191
This commit is contained in:
John David Anglin 2003-11-02 00:16:33 +00:00 committed by John David Anglin
parent edc7c9d5ec
commit 4043d9c130
2 changed files with 4 additions and 1 deletions

View 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

View 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;