diff options
author | Kelley Cook <kelleycook@wideopenwest.com> | 2003-09-30 21:28:09 +0000 |
---|---|---|
committer | R. Kelley Cook <kcook@gcc.gnu.org> | 2003-09-30 21:28:09 +0000 |
commit | 6594e599c3afe54b0ebe35a3fc1c246066a13850 (patch) | |
tree | 97ee87a91970a003508d99b2cb2f3055a8611fab /gcc | |
parent | 518723777f8ef7a965e4a7f9c2e9f64105de03ea (diff) | |
download | gcc-6594e599c3afe54b0ebe35a3fc1c246066a13850.zip gcc-6594e599c3afe54b0ebe35a3fc1c246066a13850.tar.gz gcc-6594e599c3afe54b0ebe35a3fc1c246066a13850.tar.bz2 |
cygwin1.c: Convert to ISO C90 prototypes.
2003-09-30 Kelley Cook <kelleycoook@wideopenwest.com>
* config/i386/cygwin1.c: Convert to ISO C90 prototypes.
* config/i386/winnt.c: Likewise.
* config/i386/cygming.h: Likewise.
From-SVN: r71956
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/cygming.h | 2 | ||||
-rw-r--r-- | gcc/config/i386/cygwin1.c | 7 | ||||
-rw-r--r-- | gcc/config/i386/winnt.c | 4 |
4 files changed, 11 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9ccd1a0..2cd55bc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-09-30 Kelley Cook <kelleycoook@wideopenwest.com> + + * config/i386/cygwin1.c: Convert to ISO C90 prototypes. + * config/i386/winnt.c: Likewise. + * config/i386/cygming.h: Likewise. + 2003-09-30 Kazu Hirata <kazu@cs.umass.edu> * fold-const.c (fold): Fold (A & ~B) - (A & B) into diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index d64eeff..d0e019e 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -122,7 +122,7 @@ union tree_node; #define DRECTVE_SECTION_FUNCTION \ void \ -drectve_section () \ +drectve_section (void) \ { \ if (in_section != in_drectve) \ { \ diff --git a/gcc/config/i386/cygwin1.c b/gcc/config/i386/cygwin1.c index 520d706..2cab96c 100644 --- a/gcc/config/i386/cygwin1.c +++ b/gcc/config/i386/cygwin1.c @@ -26,10 +26,9 @@ Boston, MA 02111-1307, USA. */ #include <string.h> void -mingw_scan (argc, argv, spec_machine) - int argc ATTRIBUTE_UNUSED; - const char *const *argv; - char **spec_machine; +mingw_scan (int argc ATTRIBUTE_UNUSED, + const char *const *argv, + char **spec_machine) { putenv ("GCC_CYGWIN_MINGW=0"); diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c index f376bc4..666b9bd 100644 --- a/gcc/config/i386/winnt.c +++ b/gcc/config/i386/winnt.c @@ -578,9 +578,7 @@ i386_pe_strip_name_encoding_full (const char *str) whereas symbols for functions using other calling conventions don't have a prefix (unless they are marked dllimport or dllexport). */ -void i386_pe_output_labelref (stream, name) - FILE *stream; - const char *name; +void i386_pe_output_labelref (FILE *stream, const char *name) { if (strncmp (name, DLL_IMPORT_PREFIX, strlen (DLL_IMPORT_PREFIX)) == 0) |