aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Tobler <a.tobler@schweiz.ch>2003-11-01 12:31:24 +0100
committerAndreas Tobler <andreast@gcc.gnu.org>2003-11-01 12:31:24 +0100
commit97603db35a0cfab21c5f47de4671514ef2e5e1f8 (patch)
treea8cd2fe9446fa2c182fbb046684857f35f4c079b
parentf1518966c39218ec08ac6f1e0a73b6b650259ab9 (diff)
downloadgcc-97603db35a0cfab21c5f47de4671514ef2e5e1f8.zip
gcc-97603db35a0cfab21c5f47de4671514ef2e5e1f8.tar.gz
gcc-97603db35a0cfab21c5f47de4671514ef2e5e1f8.tar.bz2
sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90 prototypes.
2003-11-01 Andreas Tobler <a.tobler@schweiz.ch> * config/rs6000/sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90 prototypes. From-SVN: r73173
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/sysv4.h14
2 files changed, 12 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c69fa4a..7bd2b8f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-01 Andreas Tobler <a.tobler@schweiz.ch>
+
+ * config/rs6000/sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90
+ prototypes.
+
2003-11-01 Andreas Jaeger <aj@suse.de>
* unwind-dw2.c (_Unwind_FindEnclosingFunction): Constify variable.
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index 7c327f75..80eaef8 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -468,7 +468,7 @@ do { \
#define TOC_SECTION_FUNCTION \
void \
-toc_section () \
+toc_section (void) \
{ \
if (in_section != in_toc) \
{ \
@@ -510,14 +510,14 @@ toc_section () \
} \
\
extern int in_toc_section (void); \
-int in_toc_section () \
+int in_toc_section (void) \
{ \
return in_section == in_toc; \
}
#define SDATA_SECTION_FUNCTION \
void \
-sdata_section () \
+sdata_section (void) \
{ \
if (in_section != in_sdata) \
{ \
@@ -528,7 +528,7 @@ sdata_section () \
#define SDATA2_SECTION_FUNCTION \
void \
-sdata2_section () \
+sdata2_section (void) \
{ \
if (in_section != in_sdata2) \
{ \
@@ -539,7 +539,7 @@ sdata2_section () \
#define SBSS_SECTION_FUNCTION \
void \
-sbss_section () \
+sbss_section (void) \
{ \
if (in_section != in_sbss) \
{ \
@@ -550,7 +550,7 @@ sbss_section () \
#define INIT_SECTION_FUNCTION \
void \
-init_section () \
+init_section (void) \
{ \
if (in_section != in_init) \
{ \
@@ -561,7 +561,7 @@ init_section () \
#define FINI_SECTION_FUNCTION \
void \
-fini_section () \
+fini_section (void) \
{ \
if (in_section != in_fini) \
{ \