diff options
author | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-17 10:00:04 +0000 |
---|---|---|
committer | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-17 10:00:04 +0000 |
commit | b40da9a76d189d5197c819d0cb7b801741e5bd8c (patch) | |
tree | d6b23a5151dcb5d2757cb4feb4eb386e92948955 /gcc/config/darwin-c.c | |
parent | 58cae6125b2c33fe134b960d3cb3fa2ecd03861e (diff) | |
download | gcc-b40da9a76d189d5197c819d0cb7b801741e5bd8c.tar.gz |
* config/alpha/alpha.md: Remove usage of PARAMS.
* config/i386/cygwin.h: Convert K&R prototypes to ISO C90.
* config/i386/i386-interix.h: Likewise.
* config/i386/winnt.c: Likewise.
* config/i386/cygming.h: Likewise.
* config/i386/cygwin2.c: Likewise.
* config/darwin.c: Likewise.
* config/darwin-c.c: Likewise.
* config/darwin-protos.h: Likewise.
* config/darwin.h: Likewise.
* config/s390/s390-protos.h: Likewise.
* config/s390/s390.c: Likewise.
* config/ia64/ia64.c: Likewse
* config/ia64/ia64-protos.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70515 138bc75d-0d04-0410-961f-82ee72b054a4
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; |