summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-30 21:28:09 +0000
committerkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-30 21:28:09 +0000
commit65b03ed4d686ce5e61fdeebaba792f188ae7819e (patch)
tree97ee87a91970a003508d99b2cb2f3055a8611fab /gcc
parentdcb467b4139593cdfc6a2b19b3764a90bacc4024 (diff)
downloadgcc-65b03ed4d686ce5e61fdeebaba792f188ae7819e.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71956 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/cygming.h2
-rw-r--r--gcc/config/i386/cygwin1.c7
-rw-r--r--gcc/config/i386/winnt.c4
4 files changed, 11 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9ccd1a068eb..2cd55bcbaba 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 d64eeff63a2..d0e019e5805 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 520d706e8cc..2cab96c195c 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 f376bc4c710..666b9bd35b0 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)