OSDN Git Service

* protoize.c: Update test for win32 (&& ! cygwin32).
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Aug 1996 01:29:32 +0000 (01:29 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Aug 1996 01:29:32 +0000 (01:29 +0000)
(kill): Delete decl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12650 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/protoize.c

index 7cc0b0a..4c77c56 100644 (file)
@@ -65,7 +65,7 @@ Boston, MA 02111-1307, USA.  */
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#ifndef _WIN32
+#if ! defined (_WIN32) || defined (__CYGWIN32__)
 #if defined(POSIX) || defined(CONCURRENT)
 #include <dirent.h>
 #else
@@ -181,9 +181,6 @@ typedef char * const_pointer_type;
 typedef void voidfn ();
 extern VOLATILE voidfn abort;
 #endif
-#ifndef _WIN32
-extern int kill ();
-#endif
 extern int creat ();
 #if 0 /* These conflict with stdio.h on some systems.  */
 extern int fprintf (FILE *, const char *, ...);