diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/alpha/elf.h | 2 | ||||
-rw-r--r-- | gcc/config/alpha/unicosmk.h | 4 | ||||
-rw-r--r-- | gcc/config/alpha/vms.h | 4 |
4 files changed, 10 insertions, 5 deletions
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 <falk@debian.org> + + * config/alpha/elf.h, config/alpha/unicosmk.h, + config/alpha/vms.h: Convert to ISO C90. + 2003-11-07 Nathanael Nerode <neroden@gcc.gnu.org> * 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) \ { \ |