cygwin1.c: Convert to ISO C90 prototypes.
authorKelley Cook <kelleycook@wideopenwest.com>
Tue, 30 Sep 2003 21:28:09 +0000 (21:28 +0000)
committerR. Kelley Cook <kcook@gcc.gnu.org>
Tue, 30 Sep 2003 21:28:09 +0000 (21:28 +0000)
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

gcc/ChangeLog
gcc/config/i386/cygming.h
gcc/config/i386/cygwin1.c
gcc/config/i386/winnt.c

index 9ccd1a068eb31255c9cde898ddcb74ac4915e8ba..2cd55bcbaba1d2ca04107b257f20217ea279cb64 100644 (file)
@@ -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
index d64eeff63a2f351801fae7b19c7c0d4d88254357..d0e019e5805390776575c9dc01b8de8e56c7d2f8 100644 (file)
@@ -122,7 +122,7 @@ union tree_node;
 
 #define DRECTVE_SECTION_FUNCTION \
 void                                                                   \
-drectve_section ()                                                     \
+drectve_section (void)                                                 \
 {                                                                      \
   if (in_section != in_drectve)                                                \
     {                                                                  \
index 520d706e8cc866475a7ce53b29060c274c162e54..2cab96c195c6ac680ba53ab23c0e0af9dff5bf81 100644 (file)
@@ -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");
  
index f376bc4c71086e81a2461efe3536fcf692d2b008..666b9bd35b08cd8098f2868401123181e25220aa 100644 (file)
@@ -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)