(DO_GLOBAL_DTORS_BODY): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126645
138bc75d-0d04-0410-961f-
82ee72b054a4
+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>
#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; \
#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; \