sh.h (DO_GLOBAL_CTORS_BODY): Add void to prototype.
* config/sh/sh.h (DO_GLOBAL_CTORS_BODY): Add void to prototype. (DO_GLOBAL_DTORS_BODY): Likewise. From-SVN: r126645
This commit is contained in:
parent
3b3620db92
commit
00f46785eb
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-07-14 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||
|
||||
* config/sh/sh.h (DO_GLOBAL_CTORS_BODY): Add void to prototype.
|
||||
(DO_GLOBAL_DTORS_BODY): Likewise.
|
||||
|
||||
2007-07-14 Sandra Loosemore <sandra@codesourcery.com>
|
||||
Nigel Stephens <nigel@mips.com>
|
||||
|
||||
|
|
|
@ -2892,7 +2892,7 @@ struct sh_args {
|
|||
#undef DO_GLOBAL_CTORS_BODY
|
||||
#define DO_GLOBAL_CTORS_BODY \
|
||||
{ \
|
||||
typedef (*pfunc)(); \
|
||||
typedef void (*pfunc) (void); \
|
||||
extern pfunc __ctors[]; \
|
||||
extern pfunc __ctors_end[]; \
|
||||
pfunc *p; \
|
||||
|
@ -2905,7 +2905,7 @@ struct sh_args {
|
|||
#undef DO_GLOBAL_DTORS_BODY
|
||||
#define DO_GLOBAL_DTORS_BODY \
|
||||
{ \
|
||||
typedef (*pfunc)(); \
|
||||
typedef void (*pfunc) (void); \
|
||||
extern pfunc __dtors[]; \
|
||||
extern pfunc __dtors_end[]; \
|
||||
pfunc *p; \
|
||||
|
|
Loading…
Add table
Reference in a new issue