This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Fix old-style declarations in PA backend


Committed as obvious to fix new bootstrap failures.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

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.

Index: config/pa/pa.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/pa/pa.c,v
retrieving revision 1.229
diff -u -3 -p -r1.229 pa.c
--- config/pa/pa.c	29 Oct 2003 21:44:15 -0000	1.229
+++ config/pa/pa.c	31 Oct 2003 21:36:31 -0000
@@ -8578,10 +8584,8 @@ cmpib_comparison_operator (rtx op, enum 
    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)
Index: config/pa/som.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/pa/som.h,v
retrieving revision 1.45
diff -u -3 -p -r1.45 som.h
--- config/pa/som.h	23 Aug 2003 01:32:59 -0000	1.45
+++ config/pa/som.h	31 Oct 2003 21:36:31 -0000
@@ -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)					\
     {									\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]