* som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.

From-SVN: r73193
This commit is contained in:
John David Anglin 2003-11-02 01:01:24 +00:00 committed by John David Anglin
parent 4043d9c130
commit f25b19304b
2 changed files with 4 additions and 2 deletions

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

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