aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2003-10-31 22:08:55 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2003-10-31 22:08:55 +0000
commit24a521606976445d6b3c0c116c73aa126c70cf9b (patch)
treee5adac182d250ba43a3b974ce3135a08a3957e4e /gcc
parent38f391a52ec117103a1d1620869a83444857834e (diff)
downloadgcc-24a521606976445d6b3c0c116c73aa126c70cf9b.zip
gcc-24a521606976445d6b3c0c116c73aa126c70cf9b.tar.gz
gcc-24a521606976445d6b3c0c116c73aa126c70cf9b.tar.bz2
pa.c (pa_select_section): Use new style declaration.
* pa.c (pa_select_section): Use new style declaration. * som.h (readonly_data): Likewise. From-SVN: r73160
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/pa/pa.c6
-rw-r--r--gcc/config/pa/som.h2
3 files changed, 8 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0482b5e..90e6b6e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * pa.c (pa_select_section): Use new style declaration.
+ * som.h (readonly_data): Likewise.
+
2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
* config/rs6000/rs6000.c: Update to C90 prototypes.
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 5e6d283..89bcd66 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -8578,10 +8578,8 @@ cmpib_comparison_operator (rtx op, enum machine_mode mode)
not be placed in the read-only data section. */
static void
-pa_select_section (exp, reloc, align)
- tree exp;
- int reloc;
- unsigned HOST_WIDE_INT align ATTRIBUTE_UNUSED;
+pa_select_section (tree exp, int reloc,
+ unsigned HOST_WIDE_INT align ATTRIBUTE_UNUSED)
{
if (TREE_CODE (exp) == VAR_DECL
&& TREE_READONLY (exp)
diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h
index fae7392..42265cb 100644
--- a/gcc/config/pa/som.h
+++ b/gcc/config/pa/som.h
@@ -234,7 +234,7 @@ do { \
#define EXTRA_SECTION_FUNCTIONS \
extern void readonly_data (void); \
void \
-readonly_data () \
+readonly_data (void) \
{ \
if (in_section != in_readonly_data) \
{ \