summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-03-08 04:57:41 +0000
committerChristopher Faylor <me@cgf.cx>2003-03-08 04:57:41 +0000
commit01d615435c88d73c50ea0818544633a20c6db232 (patch)
treec5a1cc663c7d50ce33a6cbbb09e1565c5a4c024f /newlib/libc/sys
parent762520f3bc4d160d2af658f5dd59dfd09d76bc7f (diff)
downloadcygnal-01d615435c88d73c50ea0818544633a20c6db232.tar.gz
cygnal-01d615435c88d73c50ea0818544633a20c6db232.tar.bz2
cygnal-01d615435c88d73c50ea0818544633a20c6db232.zip
* libc/include/sys/unistd.h: Guard getopt.h call to force only declaration of
getopt and avoid getopt_long declaration. * libc/sys/cygwin/include/unistd.h: Remove.
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r--newlib/libc/sys/cygwin/include/unistd.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/newlib/libc/sys/cygwin/include/unistd.h b/newlib/libc/sys/cygwin/include/unistd.h
deleted file mode 100644
index 9818176b9..000000000
--- a/newlib/libc/sys/cygwin/include/unistd.h
+++ /dev/null
@@ -1,11 +0,0 @@
-/* unistd.h for Cygwin. */
-
-#ifndef _UNISTD_H_
-#define _UNISTD_H_
-
-# include <sys/unistd.h>
-# define __UNISTD_GETOPT__
-# include <getopt.h>
-# undef __UNISTD_GETOPT__
-
-#endif /* _UNISTD_H_ */