diff options
Diffstat (limited to 'gcc/config/darwin-c.c')
-rw-r--r-- | gcc/config/darwin-c.c | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/gcc/config/darwin-c.c b/gcc/config/darwin-c.c index 045530d7b5b..c92c12f2ff9 100644 --- a/gcc/config/darwin-c.c +++ b/gcc/config/darwin-c.c @@ -1,6 +1,5 @@ /* Darwin support needed only by C/C++ frontends. - Copyright (C) 2001 - Free Software Foundation, Inc. + Copyright (C) 2001, 2003 Free Software Foundation, Inc. Contributed by Apple Computer Inc. This file is part of GNU CC. @@ -38,8 +37,8 @@ Boston, MA 02111-1307, USA. */ /* Maintain a small stack of alignments. This is similar to pragma pack's stack, but simpler. */ -static void push_field_alignment PARAMS ((int)); -static void pop_field_alignment PARAMS ((void)); +static void push_field_alignment (int); +static void pop_field_alignment (void); typedef struct align_stack { @@ -50,8 +49,7 @@ typedef struct align_stack static struct align_stack * field_align_stack = NULL; static void -push_field_alignment (bit_alignment) - int bit_alignment; +push_field_alignment (int bit_alignment) { align_stack *entry = (align_stack *) xmalloc (sizeof (align_stack)); @@ -63,7 +61,7 @@ push_field_alignment (bit_alignment) } static void -pop_field_alignment () +pop_field_alignment (void) { if (field_align_stack) { @@ -80,8 +78,7 @@ pop_field_alignment () /* Handlers for Darwin-specific pragmas. */ void -darwin_pragma_ignore (pfile) - cpp_reader *pfile ATTRIBUTE_UNUSED; +darwin_pragma_ignore (cpp_reader *pfile ATTRIBUTE_UNUSED) { /* Do nothing. */ } @@ -89,8 +86,7 @@ darwin_pragma_ignore (pfile) /* #pragma options align={mac68k|power|reset} */ void -darwin_pragma_options (pfile) - cpp_reader *pfile ATTRIBUTE_UNUSED; +darwin_pragma_options (cpp_reader *pfile ATTRIBUTE_UNUSED) { const char *arg; tree t, x; @@ -122,8 +118,7 @@ darwin_pragma_options (pfile) /* #pragma unused ([var {, var}*]) */ void -darwin_pragma_unused (pfile) - cpp_reader *pfile ATTRIBUTE_UNUSED; +darwin_pragma_unused (cpp_reader *pfile ATTRIBUTE_UNUSED) { tree decl, x; int tok; |