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
This commit is contained in:
Kelley Cook 2003-09-30 21:28:09 +00:00 committed by R. Kelley Cook
parent 518723777f
commit 6594e599c3
4 changed files with 11 additions and 8 deletions

View 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> 2003-09-30 Kazu Hirata <kazu@cs.umass.edu>
* fold-const.c (fold): Fold (A & ~B) - (A & B) into * fold-const.c (fold): Fold (A & ~B) - (A & B) into

View File

@ -122,7 +122,7 @@ union tree_node;
#define DRECTVE_SECTION_FUNCTION \ #define DRECTVE_SECTION_FUNCTION \
void \ void \
drectve_section () \ drectve_section (void) \
{ \ { \
if (in_section != in_drectve) \ if (in_section != in_drectve) \
{ \ { \

View File

@ -26,10 +26,9 @@ Boston, MA 02111-1307, USA. */
#include <string.h> #include <string.h>
void void
mingw_scan (argc, argv, spec_machine) mingw_scan (int argc ATTRIBUTE_UNUSED,
int argc ATTRIBUTE_UNUSED; const char *const *argv,
const char *const *argv; char **spec_machine)
char **spec_machine;
{ {
putenv ("GCC_CYGWIN_MINGW=0"); putenv ("GCC_CYGWIN_MINGW=0");

View File

@ -578,9 +578,7 @@ i386_pe_strip_name_encoding_full (const char *str)
whereas symbols for functions using other calling conventions don't whereas symbols for functions using other calling conventions don't
have a prefix (unless they are marked dllimport or dllexport). */ have a prefix (unless they are marked dllimport or dllexport). */
void i386_pe_output_labelref (stream, name) void i386_pe_output_labelref (FILE *stream, const char *name)
FILE *stream;
const char *name;
{ {
if (strncmp (name, DLL_IMPORT_PREFIX, strlen (DLL_IMPORT_PREFIX)) if (strncmp (name, DLL_IMPORT_PREFIX, strlen (DLL_IMPORT_PREFIX))
== 0) == 0)