This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Another C90 declaratiom missed
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 1 Nov 2003 20:02:50 -0500 (EST)
- Subject: [committed] Another C90 declaratiom missed
Committed.
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>
* som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.
Index: config/pa/som.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/pa/som.h,v
retrieving revision 1.46
diff -u -3 -p -r1.46 som.h
--- config/pa/som.h 31 Oct 2003 22:08:55 -0000 1.46
+++ config/pa/som.h 2 Nov 2003 00:47:59 -0000
@@ -332,8 +332,8 @@ readonly_data (void) \
#define DO_GLOBAL_DTORS_BODY \
do { \
- extern void __gcc_plt_call (); \
- void (*reference)() = &__gcc_plt_call; \
+ extern void __gcc_plt_call (void); \
+ void (*reference)(void) = &__gcc_plt_call; \
func_ptr *p; \
__asm__ ("" : : "r" (reference)); \
for (p = __DTOR_LIST__ + 1; *p; ) \