[committed] Yet more fallout from -Werror
John David Anglin
dave@hiauly1.hia.nrc.ca
Sun Nov 2 00:21:00 GMT 2003
Noticed building on hppa1.1-hp-hpux10.20. Committed as obvious.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2003-11-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.
Index: libgcc2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/libgcc2.c,v
retrieving revision 1.168
diff -u -3 -p -r1.168 libgcc2.c
--- libgcc2.c 1 Jul 2003 04:04:13 -0000 1.168
+++ libgcc2.c 2 Nov 2003 00:06:14 -0000
@@ -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;
More information about the Gcc-patches
mailing list