OSDN Git Service

* include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
authordannysmith <dannysmith>
Thu, 11 Mar 2004 09:41:08 +0000 (09:41 +0000)
committerdannysmith <dannysmith>
Thu, 11 Mar 2004 09:41:08 +0000 (09:41 +0000)
* include/direct.h:  Ditto.
* include/dirent.h:  Ditto.
* include/dos.h:  Ditto.
* include/excpt.h:  Ditto.
* inlude/fcntl,h
* include/io.h:  Ditto.
* inlude/mem.h:  Ditto.
* include/memory.h:  Ditto.
* include/process.h:  Ditto.
* inlude/search.h:  Ditto.
* include/share.h:  Ditto.
* include/unistd.h:  Ditto.
* include/sys/fcntl.h:  Ditto.
* include/file.h:  Ditto.
* include/sys/locking.h:  Ditto.
* include/sys/param.h:  Ditto.
* include/sys/stat,h
* include/sys/time.h:  Ditto.
* include/sys/timeb.h:  Ditto.
* include/sys/types.h:  Ditto.
* include/sys/unistd.h:  Ditto.
* include/sys/utime.h:  Ditto.

24 files changed:
winsup/mingw/ChangeLog
winsup/mingw/include/conio.h
winsup/mingw/include/direct.h
winsup/mingw/include/dirent.h
winsup/mingw/include/dos.h
winsup/mingw/include/excpt.h
winsup/mingw/include/fcntl.h
winsup/mingw/include/io.h
winsup/mingw/include/mem.h
winsup/mingw/include/memory.h
winsup/mingw/include/process.h
winsup/mingw/include/search.h
winsup/mingw/include/share.h
winsup/mingw/include/sys/fcntl.h
winsup/mingw/include/sys/file.h
winsup/mingw/include/sys/locking.h
winsup/mingw/include/sys/param.h
winsup/mingw/include/sys/stat.h
winsup/mingw/include/sys/time.h
winsup/mingw/include/sys/timeb.h
winsup/mingw/include/sys/types.h
winsup/mingw/include/sys/unistd.h
winsup/mingw/include/sys/utime.h
winsup/mingw/include/unistd.h

index 93f8398..e30f6af 100644 (file)
@@ -1,3 +1,29 @@
+2004-03-10  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
+       * include/direct.h:  Ditto.
+       * include/dirent.h:  Ditto.
+       * include/dos.h:  Ditto.
+       * include/excpt.h:  Ditto.
+       * inlude/fcntl,h
+       * include/io.h:  Ditto.
+       * inlude/mem.h:  Ditto.
+       * include/memory.h:  Ditto.
+       * include/process.h:  Ditto.
+       * inlude/search.h:  Ditto.
+       * include/share.h:  Ditto.
+       * include/unistd.h:  Ditto.
+       * include/sys/fcntl.h:  Ditto.
+       * include/file.h:  Ditto.
+       * include/sys/locking.h:  Ditto.
+       * include/sys/param.h:  Ditto.
+       * include/sys/stat,h
+       * include/sys/time.h:  Ditto.
+       * include/sys/timeb.h:  Ditto.
+       * include/sys/types.h:  Ditto.
+       * include/sys/unistd.h:  Ditto.
+       * include/sys/utime.h:  Ditto.
+
 2004-02-21  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * include/_mingw.h (__UNUSED_PARAM): Define macro.
index 780ccc1..c8e4a84 100644 (file)
@@ -25,8 +25,6 @@
  *
  */
 
-#ifndef        __STRICT_ANSI__
-
 #ifndef        _CONIO_H_
 #define        _CONIO_H_
 
@@ -69,5 +67,3 @@ _CRTIMP int __cdecl   ungetch (int);
 #endif /* Not RC_INVOKED */
 
 #endif /* Not _CONIO_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
index c8fec4c..6fadb5e 100644 (file)
@@ -24,9 +24,6 @@
  * $Date$
  *
  */
-
-#ifndef __STRICT_ANSI__
-
 #ifndef        _DIRECT_H_
 #define        _DIRECT_H_
 
@@ -90,6 +87,3 @@ _CRTIMP int __cdecl _wrmdir(const wchar_t*);
 #endif /* Not RC_INVOKED */
 
 #endif /* Not _DIRECT_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
index 4e787d8..b971138 100644 (file)
@@ -20,9 +20,6 @@
  * $Date$
  *
  */
-
-#ifndef        __STRICT_ANSI__
-
 #ifndef _DIRENT_H_
 #define _DIRENT_H_
 
@@ -140,6 +137,3 @@ void __cdecl _wseekdir (_WDIR*, long);
 #endif /* Not RC_INVOKED */
 
 #endif /* Not _DIRENT_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
index 4f2134e..219632f 100644 (file)
@@ -24,8 +24,6 @@
  *
  */
 
-#ifndef        __STRICT_ANSI__
-
 #ifndef        _DOS_H_
 #define        _DOS_H_
 
@@ -105,6 +103,3 @@ _CRTIMP unsigned __cdecl _getdiskfree (unsigned, struct _diskfree_t *);
 #endif /* Not RC_INVOKED */
 
 #endif /* Not _DOS_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
index 20a2d72..7aa4429 100644 (file)
@@ -34,8 +34,6 @@
 /* All the headers include this file. */
 #include <_mingw.h>
 
-#ifndef        __STRICT_ANSI__
-
 #include <windef.h>
 
 /*
@@ -118,6 +116,4 @@ typedef PEXCEPTION_REGISTRATION PEXCEPTION_REGISTRATION_RECORD;
 
 #endif /* Not RC_INVOKED */
 
-#endif /* Not strict ANSI */
-
 #endif /* _EXCPT_H_ not defined */
index ce19329..b34b4ca 100644 (file)
@@ -24,9 +24,6 @@
  * $Date$
  *
  */
-
-#ifndef __STRICT_ANSI__
-
 #ifndef _FCNTL_H_
 #define _FCNTL_H_
 
@@ -86,6 +83,3 @@
 #endif /* Not _NO_OLDNAMES */
 
 #endif /* Not _FCNTL_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
index 50b395a..433aa57 100644 (file)
@@ -23,9 +23,6 @@
  * $Date$
  *
  */
-
-#ifndef        __STRICT_ANSI__
-
 #ifndef        _IO_H_
 #define        _IO_H_
 
@@ -35,7 +32,6 @@
 /* MSVC's io.h contains the stuff from dir.h, so I will too.
  * NOTE: This also defines off_t, the file offset type, through
  *       an inclusion of sys/types.h */
-#ifndef __STRICT_ANSI__
 
 #include <sys/types.h> /* To get time_t. */
 
@@ -162,8 +158,6 @@ _CRTIMP int __cdecl chmod (const char*, int);
 
 #endif /* Not RC_INVOKED */
 
-#endif /* Not __STRICT_ANSI__ */
-
 /* TODO: Maximum number of open handles has not been tested, I just set
  * it the same as FOPEN_MAX. */
 #define        HANDLE_MAX      FOPEN_MAX
@@ -299,6 +293,3 @@ wchar_t *   wmktemp(wchar_t *);
 #endif /* Not RC_INVOKED */
 
 #endif /* _IO_H_ not defined */
-
-#endif /* Not strict ANSI */
-
index 20c8fa4..451de0c 100644 (file)
@@ -3,6 +3,4 @@
  *
  * mem.h maps to string.h
  */
-#ifndef        __STRICT_ANSI__
 #include <string.h>
-#endif
index e0c91d6..9ba65cf 100644 (file)
@@ -3,7 +3,5 @@
  *
  * memory.h maps to the standard string.h header.
  */
-#ifndef        __STRICT_ANSI__
-#include       <string.h>
-#endif
 
+#include       <string.h>
index 67277db..6d61b2a 100644 (file)
@@ -24,8 +24,6 @@
  *
  */
 
-#ifndef        __STRICT_ANSI__
-
 #ifndef        _PROCESS_H_
 #define        _PROCESS_H_
 
@@ -156,4 +154,3 @@ _CRTIMP int __cdecl spawnvpe (int, const char*, const char* const*, const char*
 #endif /* _PROCESS_H_ not defined */
 
 #endif /* Not __STRICT_ANSI__ */
-
index b42b05a..2d7768b 100644 (file)
@@ -43,7 +43,6 @@ _CRTIMP void* __cdecl bsearch (const void*, const void*, size_t, size_t,
 _CRTIMP void __cdecl qsort (void*, size_t, size_t,
                            int (*)(const void*, const void*));
 
-#ifndef __STRICT_ANSI__
 _CRTIMP void* __cdecl _lfind (const void*, const void*, unsigned int*,
                              unsigned int, int (*)(const void*, const void*));
 _CRTIMP void* __cdecl _lsearch (const void*, void*, unsigned int*, unsigned int,
@@ -55,7 +54,6 @@ _CRTIMP void* __cdecl lfind (const void*, const void*, unsigned int*,
 _CRTIMP void* __cdecl lsearch (const void*, void*, unsigned int*, unsigned int,
                               int (*)(const void*, const void*));
 #endif
-#endif /* __STRICT_ANSI__ */
 
 #ifdef __cplusplus
 }
index 605d7e7..4643752 100644 (file)
@@ -24,8 +24,6 @@
  *
  */
 
-#ifndef        __STRICT_ANSI__
-
 #ifndef        _SHARE_H_
 #define        _SHARE_H_
 
@@ -38,8 +36,6 @@
 #define        _SH_DENYRD      0x30    /* Deny read */
 #define        _SH_DENYNO      0x40    /* Deny nothing */
 
-#ifndef __STRICT_ANSI__
-
 #ifndef _NO_OLDNAMES
 
 /* Non ANSI names */
@@ -50,9 +46,4 @@
 
 #endif /* Not _NO_OLDNAMES */
 
-#endif /* Not __STRICT_ANSI__ */
-
 #endif /* Not _SHARE_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
index b343f27..a2090bc 100644 (file)
@@ -3,6 +3,5 @@
  *
  * This fcntl.h maps to the root fcntl.h
  */
-#ifndef __STRICT_ANSI__
+
 #include <fcntl.h>
-#endif
index 96c49e1..e95654c 100644 (file)
@@ -4,6 +4,4 @@
  * This file.h maps to the root fcntl.h
  * TODO?
  */
-#ifndef __STRICT_ANSI__
 #include <fcntl.h>
-#endif
index 48e08e2..ccdb9ec 100644 (file)
@@ -24,8 +24,6 @@
  *
  */
 
-#ifndef        __STRICT_ANSI__
-
 #ifndef        _LOCKING_H_
 #define        _LOCKING_H_
 
@@ -47,6 +45,3 @@
 #endif /* Not NO_OLDNAMES */
 
 #endif /* Not _LOCKING_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
index 5ff4c87..40e5af8 100644 (file)
@@ -28,7 +28,6 @@
 #include <sys/types.h>
 #include <limits.h>
 
-#ifndef __STRICT_ANSI__
 /* These are useful for cross-compiling */ 
 #define BIG_ENDIAN     4321
 #define LITTLE_ENDIAN  1234
@@ -37,5 +36,3 @@
 #define MAXPATHLEN PATH_MAX
 
 #endif
-
-#endif
index f851c25..f782d2f 100644 (file)
@@ -25,8 +25,6 @@
  *
  */
 
-#ifndef __STRICT_ANSI__
-
 #ifndef _STAT_H_
 #define _STAT_H_
 
@@ -185,6 +183,3 @@ _CRTIMP int __cdecl stat (const char*, struct stat*);
 #endif /* Not RC_INVOKED */
 
 #endif /* Not _STAT_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
index dfa35d1..bcd5509 100644 (file)
@@ -1,7 +1,6 @@
 
 #include <time.h>
 
-#ifndef __STRICT_ANSI__
 #ifndef _TIMEVAL_DEFINED /* also in winsock[2].h */
 #define _TIMEVAL_DEFINED
 struct timeval {
@@ -15,5 +14,3 @@ struct timeval {
        ((tvp)->tv_usec cmp (uvp)->tv_usec))
 #define timerclear(tvp)         (tvp)->tv_sec = (tvp)->tv_usec = 0
 #endif /* _TIMEVAL_DEFINED */
-
-#endif /* __STRICT_ANSI__ */
index 16b4dc0..4e5b1bf 100644 (file)
@@ -24,8 +24,6 @@
  *
  */
 
-#ifndef        __STRICT_ANSI__
-
 #ifndef        _TIMEB_H_
 #define        _TIMEB_H_
 
@@ -77,6 +75,3 @@ _CRTIMP void __cdecl  ftime (struct timeb*);
 #endif /* Not RC_INVOKED */
 
 #endif /* Not _TIMEB_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
index 6c39fd8..a1f66ab 100644 (file)
@@ -46,8 +46,6 @@ typedef       long    time_t;
 #endif
 
 
-#ifndef        __STRICT_ANSI__
-
 #ifndef        _OFF_T_
 #define        _OFF_T_
 typedef long _off_t;
@@ -120,8 +118,6 @@ typedef _ssize_t ssize_t;
 #endif
 #endif /* Not _SSIZE_T_ */ 
 
-#endif /* Not __STRICT_ANSI__ */
-
 #endif /* Not RC_INVOKED */
 
 #endif /* Not _TYPES_H_ */
index ed122d9..39eac4a 100644 (file)
@@ -3,7 +3,4 @@
  *
  * unistd.h maps (roughly) to io.h
  */
-#ifndef __STRICT_ANSI__
 #include <io.h>
-#endif
-
index 1ddeaba..f95ec84 100644 (file)
@@ -23,9 +23,6 @@
  * $Date$
  *
  */
-
-#ifndef        __STRICT_ANSI__
-
 #ifndef        _UTIME_H_
 #define        _UTIME_H_
 
@@ -84,6 +81,3 @@ _CRTIMP int __cdecl   utime (const char*, struct utimbuf*);
 #endif /* Not RC_INVOKED */
 
 #endif /* Not _UTIME_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
index faa2056..37682e5 100644 (file)
@@ -4,7 +4,8 @@
  * unistd.h maps (roughly) to io.h
  */
 
-#ifndef __STRICT_ANSI__
+#ifndef _UNISTD_H
+#define _UNISTD_H
 
 #include <io.h>
 #include <process.h>
@@ -13,5 +14,4 @@
 #include <getopt.h>
 #undef __UNISTD_GETOPT__
 
-#endif 
-
+#endif /* _UNISTD_H */