Commit 4cd0866d by Kazu Hirata Committed by Kazu Hirata

h8300.h (DO_GLOBAL_CTORS_BODY): Fix warnings.

	* config/h8300/h8300.h (DO_GLOBAL_CTORS_BODY): Fix warnings.
	(DO_GLOBAL_DTORS_BODY): Likewise.

From-SVN: r73634
parent 9cbbf463
2003-11-15 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.h (DO_GLOBAL_CTORS_BODY): Fix warnings.
(DO_GLOBAL_DTORS_BODY): Likewise.
2003-11-15 Joseph S. Myers <jsm@polyomino.org.uk>
* doc/install.texi (Prerequisites): Refine documentation of
......
......@@ -1054,10 +1054,9 @@ struct cum_arg
#undef DO_GLOBAL_CTORS_BODY
#define DO_GLOBAL_CTORS_BODY \
{ \
typedef (*pfunc)(); \
extern pfunc __ctors[]; \
extern pfunc __ctors_end[]; \
pfunc *p; \
extern func_ptr __ctors[]; \
extern func_ptr __ctors_end[]; \
func_ptr *p; \
for (p = __ctors_end; p > __ctors; ) \
{ \
(*--p)(); \
......@@ -1067,10 +1066,9 @@ struct cum_arg
#undef DO_GLOBAL_DTORS_BODY
#define DO_GLOBAL_DTORS_BODY \
{ \
typedef (*pfunc)(); \
extern pfunc __dtors[]; \
extern pfunc __dtors_end[]; \
pfunc *p; \
extern func_ptr __dtors[]; \
extern func_ptr __dtors_end[]; \
func_ptr *p; \
for (p = __dtors; p < __dtors_end; p++) \
{ \
(*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