Commit 00f46785 by Kaz Kojima

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
parent 3b3620db
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> 2007-07-14 Sandra Loosemore <sandra@codesourcery.com>
Nigel Stephens <nigel@mips.com> Nigel Stephens <nigel@mips.com>
......
...@@ -2892,7 +2892,7 @@ struct sh_args { ...@@ -2892,7 +2892,7 @@ struct sh_args {
#undef DO_GLOBAL_CTORS_BODY #undef DO_GLOBAL_CTORS_BODY
#define DO_GLOBAL_CTORS_BODY \ #define DO_GLOBAL_CTORS_BODY \
{ \ { \
typedef (*pfunc)(); \ typedef void (*pfunc) (void); \
extern pfunc __ctors[]; \ extern pfunc __ctors[]; \
extern pfunc __ctors_end[]; \ extern pfunc __ctors_end[]; \
pfunc *p; \ pfunc *p; \
...@@ -2905,7 +2905,7 @@ struct sh_args { ...@@ -2905,7 +2905,7 @@ struct sh_args {
#undef DO_GLOBAL_DTORS_BODY #undef DO_GLOBAL_DTORS_BODY
#define DO_GLOBAL_DTORS_BODY \ #define DO_GLOBAL_DTORS_BODY \
{ \ { \
typedef (*pfunc)(); \ typedef void (*pfunc) (void); \
extern pfunc __dtors[]; \ extern pfunc __dtors[]; \
extern pfunc __dtors_end[]; \ extern pfunc __dtors_end[]; \
pfunc *p; \ pfunc *p; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment