Commit 24a52160 by John David Anglin Committed by John David Anglin

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
parent 38f391a5
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> 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
* config/rs6000/rs6000.c: Update to C90 prototypes. * config/rs6000/rs6000.c: Update to C90 prototypes.
......
...@@ -8578,10 +8578,8 @@ cmpib_comparison_operator (rtx op, enum machine_mode mode) ...@@ -8578,10 +8578,8 @@ cmpib_comparison_operator (rtx op, enum machine_mode mode)
not be placed in the read-only data section. */ not be placed in the read-only data section. */
static void static void
pa_select_section (exp, reloc, align) pa_select_section (tree exp, int reloc,
tree exp; unsigned HOST_WIDE_INT align ATTRIBUTE_UNUSED)
int reloc;
unsigned HOST_WIDE_INT align ATTRIBUTE_UNUSED;
{ {
if (TREE_CODE (exp) == VAR_DECL if (TREE_CODE (exp) == VAR_DECL
&& TREE_READONLY (exp) && TREE_READONLY (exp)
......
...@@ -234,7 +234,7 @@ do { \ ...@@ -234,7 +234,7 @@ do { \
#define EXTRA_SECTION_FUNCTIONS \ #define EXTRA_SECTION_FUNCTIONS \
extern void readonly_data (void); \ extern void readonly_data (void); \
void \ void \
readonly_data () \ readonly_data (void) \
{ \ { \
if (in_section != in_readonly_data) \ if (in_section != in_readonly_data) \
{ \ { \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment