This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Convert config/arm/pe.h to ISO C90
- From: Raja R Harinath <harinath at cs dot umn dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 01 Nov 2003 10:13:49 -0600
- Subject: Re: [patch] Convert config/arm/pe.h to ISO C90
- Cancel-lock: sha1:GspPV0DjxjYseGqGfxZQlZHPQ94=
- Organization: Dept. of Computer Science, Univ. of Minnesota
- References: <20031101005929.GA3062@twcny.rr.com>
Hi,
neroden@twcny.rr.com (Nathanael Nerode) writes:
> I'd like someone to either test this on arm-pe/arm-wince-pe or confirm that
> this can't break anything.
>
> * config/arm/pe.h: Convert to ISO C90 definitions and declarations.
[snip]
> #define SWITCH_TO_SECTION_FUNCTION \
> -static void switch_to_section PARAMS ((enum in_section, tree)); \
> static void \
> -switch_to_section (section, decl) \
> - enum in_section section; \
> - tree decl; \
> +switch_to_section (enum in_section section, tree decl); \
(*) ------------------^
> { \
> switch (section) \
> { \
> @@ -221,3 +218,4 @@
> default: abort (); break; \
> } \
> }
> +
(*) You probably need to remove that ';' :-)
- Hari
--
Raja R Harinath ------------------------------ harinath@cs.umn.edu