From: Falk Hueffner Date: Fri, 7 Nov 2003 18:57:32 +0000 (+0100) Subject: elf.h, [...]: Convert to ISO C90. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1cd93a2a2b60ad17a7dcaed3124c3fa0a4e65417;p=platform%2Fupstream%2Fgcc.git elf.h, [...]: Convert to ISO C90. * config/alpha/elf.h, config/alpha/unicosmk.h, config/alpha/vms.h: Convert to ISO C90. From-SVN: r73342 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d8932b6..f658db5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-11-07 Falk Hueffner + + * config/alpha/elf.h, config/alpha/unicosmk.h, + config/alpha/vms.h: Convert to ISO C90. + 2003-11-07 Nathanael Nerode * config/arm/pe.h: Convert to ISO C90. diff --git a/gcc/config/alpha/elf.h b/gcc/config/alpha/elf.h index f84fe3d..7115bc0 100644 --- a/gcc/config/alpha/elf.h +++ b/gcc/config/alpha/elf.h @@ -215,7 +215,7 @@ extern void sdata_section (void); #undef SECTION_FUNCTION_TEMPLATE #define SECTION_FUNCTION_TEMPLATE(FN, ENUM, OP) \ -void FN () \ +void FN (void) \ { \ if (in_section != ENUM) \ { \ diff --git a/gcc/config/alpha/unicosmk.h b/gcc/config/alpha/unicosmk.h index 46877fb..5a74582 100644 --- a/gcc/config/alpha/unicosmk.h +++ b/gcc/config/alpha/unicosmk.h @@ -290,7 +290,7 @@ SSIB_SECTION extern void common_section (void); #define COMMON_SECTION \ void \ -common_section () \ +common_section (void) \ { \ in_section = in_common; \ } @@ -298,7 +298,7 @@ common_section () \ extern void ssib_section (void); #define SSIB_SECTION \ void \ -ssib_section () \ +ssib_section (void) \ { \ in_section = in_ssib; \ } diff --git a/gcc/config/alpha/vms.h b/gcc/config/alpha/vms.h index 8b065e7..192e178 100644 --- a/gcc/config/alpha/vms.h +++ b/gcc/config/alpha/vms.h @@ -218,7 +218,7 @@ typedef struct {int num_args; enum avms_arg_type atypes[6];} avms_arg_info; #undef EXTRA_SECTION_FUNCTIONS #define EXTRA_SECTION_FUNCTIONS \ void \ -link_section () \ +link_section (void) \ { \ if (in_section != in_link) \ { \ @@ -227,7 +227,7 @@ link_section () \ } \ } \ void \ -literals_section () \ +literals_section (void) \ { \ if (in_section != in_literals) \ { \