This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Convert config/arm/pe.h to ISO C90


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]