* som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Sun, 2 Nov 2003 01:01:24 +0000 (01:01 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 2 Nov 2003 01:01:24 +0000 (01:01 +0000)
From-SVN: r73193

gcc/ChangeLog
gcc/config/pa/som.h

index 16f72a6..e7678e0 100644 (file)
@@ -10,6 +10,8 @@
 
 2003-11-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
+       * som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.
+
        * libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.
 
        * collect2.c (scan_libraries): Fix typos.
index 42265cb..ae52cd0 100644 (file)
@@ -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; )            \