summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-07 18:45:26 +0000
committerneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-07 18:45:26 +0000
commit3c094ced58012d3569762dbbe232a68c95ea4d4f (patch)
treeffb46b8c0d59b52d7179690aaddf165797f0055c /gcc
parentd31295700b90d81af0b306e9171db15356f936c2 (diff)
downloadppe42-gcc-3c094ced58012d3569762dbbe232a68c95ea4d4f.tar.gz
ppe42-gcc-3c094ced58012d3569762dbbe232a68c95ea4d4f.zip
* config/arm/pe.h: Convert to ISO C90.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73341 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/arm/pe.h8
2 files changed, 7 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0e70f63e886..d8932b656a2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-11-07 Nathanael Nerode <neroden@gcc.gnu.org>
+
+ * config/arm/pe.h: Convert to ISO C90.
+
2003-11-07 J"orn Rennecke <joern.rennecke@superh.com>
* sh-protos.h (sh_pch_valid_p): Declare.
diff --git a/gcc/config/arm/pe.h b/gcc/config/arm/pe.h
index bd0b6606247..7fba10b1d06 100644
--- a/gcc/config/arm/pe.h
+++ b/gcc/config/arm/pe.h
@@ -187,7 +187,7 @@
#define DRECTVE_SECTION_FUNCTION \
void \
-drectve_section () \
+drectve_section (void) \
{ \
if (in_section != in_drectve) \
{ \
@@ -203,11 +203,8 @@ drectve_section () \
ASM_DECLARE_OBJECT_NAME and then switch back to the original section
afterwards. */
#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 @@ switch_to_section (section, decl) \
default: abort (); break; \
} \
}
+
OpenPOWER on IntegriCloud