diff options
865 files changed, 4325 insertions, 0 deletions
diff --git a/src/aio/aio_cancel.c b/src/aio/aio_cancel.c index faddae7f..f4a93619 100644 --- a/src/aio/aio_cancel.c +++ b/src/aio/aio_cancel.c @@ -1,3 +1,5 @@ +#if 0 + #include <aio.h> int aio_cancel(int fildes, struct aiocb *aiocbp) @@ -9,3 +11,6 @@ int aio_cancel(int fildes, struct aiocb *aiocbp) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/aio/aio_error.c b/src/aio/aio_error.c index c291543c..f59163a4 100644 --- a/src/aio/aio_error.c +++ b/src/aio/aio_error.c @@ -1,3 +1,5 @@ +#if 0 + #include <aio.h> int aio_error(const struct aiocb * aiocbp) @@ -9,3 +11,6 @@ int aio_error(const struct aiocb * aiocbp) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/aio/aio_fsync.c b/src/aio/aio_fsync.c index 126512f0..ff3dc710 100644 --- a/src/aio/aio_fsync.c +++ b/src/aio/aio_fsync.c @@ -1,3 +1,5 @@ +#if 0 + #include <aio.h> int aio_fsync(int op, struct aiocb * aiocbp) @@ -9,3 +11,6 @@ int aio_fsync(int op, struct aiocb * aiocbp) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/aio/aio_read.c b/src/aio/aio_read.c index c9d6c898..50eaf248 100644 --- a/src/aio/aio_read.c +++ b/src/aio/aio_read.c @@ -1,3 +1,5 @@ +#if 0 + #include <aio.h> int aio_read(struct aiocb * aiocbp) @@ -8,3 +10,6 @@ int aio_read(struct aiocb * aiocbp) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/aio/aio_return.c b/src/aio/aio_return.c index 7a98ed0a..b77e0f36 100644 --- a/src/aio/aio_return.c +++ b/src/aio/aio_return.c @@ -1,3 +1,5 @@ +#if 0 + #include <aio.h> ssize_t aio_return(struct aiocb *aiocbp) @@ -9,3 +11,6 @@ ssize_t aio_return(struct aiocb *aiocbp) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/aio/aio_suspend.c b/src/aio/aio_suspend.c index 714d029a..e3a3a426 100644 --- a/src/aio/aio_suspend.c +++ b/src/aio/aio_suspend.c @@ -1,3 +1,5 @@ +#if 0 + #include <aio.h> int aio_suspend(const struct aiocb * const list[], int nent, const struct timespec * timeout) @@ -9,3 +11,6 @@ int aio_suspend(const struct aiocb * const list[], int nent, const struct timesp POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/aio/aio_write.c b/src/aio/aio_write.c index 4c08312d..2812f201 100644 --- a/src/aio/aio_write.c +++ b/src/aio/aio_write.c @@ -1,3 +1,5 @@ +#if 0 + #include <aio.h> int aio_write(struct aiocb * aiocbp) @@ -9,3 +11,6 @@ int aio_write(struct aiocb * aiocbp) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/aio/lio_listio.c b/src/aio/lio_listio.c index d5178956..64a6b27d 100644 --- a/src/aio/lio_listio.c +++ b/src/aio/lio_listio.c @@ -1,3 +1,5 @@ +#if 0 + #include <aio.h> int lio_listio(int mode, struct aiocb * const list[restrict], int nent, struct sigevent * restrict sig) @@ -9,3 +11,6 @@ int lio_listio(int mode, struct aiocb * const list[restrict], int nent, struct s POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/aio/struct_aiocb.c b/src/aio/struct_aiocb.c index 177d8ffa..801074e2 100644 --- a/src/aio/struct_aiocb.c +++ b/src/aio/struct_aiocb.c @@ -1,3 +1,5 @@ +#if 0 + #include <aio.h> struct aiocb { @@ -13,3 +15,6 @@ struct aiocb { /* POSIX(199309) */ + + +#endif diff --git a/src/arpa/inet/htonl.c b/src/arpa/inet/htonl.c index c17f2470..23522d9f 100644 --- a/src/arpa/inet/htonl.c +++ b/src/arpa/inet/htonl.c @@ -1,3 +1,5 @@ +#if 0 + #include <arpa/inet.h> uint32_t htonl(uint32_t hostlong) @@ -14,3 +16,6 @@ uint32_t htonl(uint32_t hostlong) return u.u; } + + +#endif diff --git a/src/arpa/inet/htons.c b/src/arpa/inet/htons.c index b6be02ed..7dbd56e1 100644 --- a/src/arpa/inet/htons.c +++ b/src/arpa/inet/htons.c @@ -1,3 +1,5 @@ +#if 0 + #include <arpa/inet.h> uint16_t htons(uint16_t hostshort) @@ -12,3 +14,6 @@ uint16_t htons(uint16_t hostshort) return u.u; } + + +#endif diff --git a/src/arpa/inet/inet_addr.c b/src/arpa/inet/inet_addr.c index 6073df80..e493ff0b 100644 --- a/src/arpa/inet/inet_addr.c +++ b/src/arpa/inet/inet_addr.c @@ -1,3 +1,5 @@ +#if 0 + #include <arpa/inet.h> #include <stdlib.h> @@ -52,3 +54,6 @@ in_addr_t inet_addr(const char *cp) return addr; } + + +#endif diff --git a/src/arpa/inet/inet_ntoa.c b/src/arpa/inet/inet_ntoa.c index c2ca7fc6..ca621d4a 100644 --- a/src/arpa/inet/inet_ntoa.c +++ b/src/arpa/inet/inet_ntoa.c @@ -1,3 +1,5 @@ +#if 0 + #include <arpa/inet.h> #include <netinet/in.h> #include <stdio.h> @@ -12,3 +14,6 @@ char *inet_ntoa(struct in_addr in) (in.s_addr) & 0xff); return s; } + + +#endif diff --git a/src/arpa/inet/inet_ntop.c b/src/arpa/inet/inet_ntop.c index 0a89cedf..efd14684 100644 --- a/src/arpa/inet/inet_ntop.c +++ b/src/arpa/inet/inet_ntop.c @@ -1,3 +1,5 @@ +#if 0 + #include <arpa/inet.h> #include <errno.h> #include <stdio.h> @@ -32,3 +34,6 @@ const char *inet_ntop(int af, const void *restrict src, char *restrict dst, sock /* do IPv6 conversion */ return dst; } + + +#endif diff --git a/src/arpa/inet/inet_pton.c b/src/arpa/inet/inet_pton.c index 14e7219b..533dd2e9 100644 --- a/src/arpa/inet/inet_pton.c +++ b/src/arpa/inet/inet_pton.c @@ -1,3 +1,5 @@ +#if 0 + #include <arpa/inet.h> #include <errno.h> #include <stdlib.h> @@ -41,3 +43,6 @@ int inet_pton(int af, const char *restrict src, void *restrict dst) /* do ipv6 conversion */ return 1; } + + +#endif diff --git a/src/arpa/inet/ntohl.c b/src/arpa/inet/ntohl.c index 9f0b1557..25fa650d 100644 --- a/src/arpa/inet/ntohl.c +++ b/src/arpa/inet/ntohl.c @@ -1,3 +1,5 @@ +#if 0 + #include <arpa/inet.h> uint32_t ntohl(uint32_t netlong) @@ -9,3 +11,6 @@ uint32_t ntohl(uint32_t netlong) return (u.c[0] << 24) | (u.c[1] << 16) | (u.c[2] << 8) | u.c[3]; } + + +#endif diff --git a/src/arpa/inet/ntohs.c b/src/arpa/inet/ntohs.c index 20d117d2..32bff30c 100644 --- a/src/arpa/inet/ntohs.c +++ b/src/arpa/inet/ntohs.c @@ -1,3 +1,5 @@ +#if 0 + #include <arpa/inet.h> uint16_t ntohs(uint16_t netshort) @@ -9,3 +11,6 @@ uint16_t ntohs(uint16_t netshort) return (u.c[0] << 8) | u.c[1]; } + + +#endif diff --git a/src/assert/__assert.c b/src/assert/__assert.c index 22b6108c..8e11b756 100644 --- a/src/assert/__assert.c +++ b/src/assert/__assert.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdlib.h> @@ -12,3 +14,6 @@ void __assert(const char *expr, const char *file, int line, const char *func) } abort(); } + + +#endif diff --git a/src/complex/cabs.c b/src/complex/cabs.c index b4b78ee5..5600154d 100644 --- a/src/complex/cabs.c +++ b/src/complex/cabs.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/cabs.c" #include <complex.h> #include <math.h> @@ -21,3 +23,6 @@ r*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/cacos.c b/src/complex/cacos.c index 90d4e018..b7305f3f 100644 --- a/src/complex/cacos.c +++ b/src/complex/cacos.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/cacos.c" #include "_tgmath.h" #include <complex.h> @@ -78,3 +80,6 @@ r*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/cacosh.c b/src/complex/cacosh.c index e6242d87..caa8cf58 100644 --- a/src/complex/cacosh.c +++ b/src/complex/cacosh.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/cacosh.c" #include "_tgmath.h" #include <complex.h> @@ -76,3 +78,6 @@ r*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/carg.c b/src/complex/carg.c index 9c3fd16f..c96861ea 100644 --- a/src/complex/carg.c +++ b/src/complex/carg.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/carg.c" #include <complex.h> #include <math.h> @@ -21,3 +23,6 @@ r*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/casin.c b/src/complex/casin.c index 769b586a..3294e896 100644 --- a/src/complex/casin.c +++ b/src/complex/casin.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/casin.c" #include "_tgmath.h" @@ -23,3 +25,6 @@ r*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/casinh.c b/src/complex/casinh.c index 413e01a2..a058b3aa 100644 --- a/src/complex/casinh.c +++ b/src/complex/casinh.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/casinh.c" #include "_tgmath.h" #include <complex.h> @@ -70,3 +72,6 @@ r*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/catan.c b/src/complex/catan.c index d6db9077..5423d115 100644 --- a/src/complex/catan.c +++ b/src/complex/catan.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/catan.c" #include "_tgmath.h" @@ -23,3 +25,6 @@ r*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/catanh.c b/src/complex/catanh.c index 9c4aaba1..05108c1c 100644 --- a/src/complex/catanh.c +++ b/src/complex/catanh.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/catanh.c" #include "_tgmath.h" #include <complex.h> @@ -77,3 +79,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/ccos.c b/src/complex/ccos.c index 6b4a7a46..5a96236c 100644 --- a/src/complex/ccos.c +++ b/src/complex/ccos.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/ccos.c" #include "_tgmath.h" @@ -20,3 +22,6 @@ r*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/ccosh.c b/src/complex/ccosh.c index 38798e8b..848ceffc 100644 --- a/src/complex/ccosh.c +++ b/src/complex/ccosh.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/ccosh.c" #include "_tgmath.h" #include <complex.h> @@ -81,3 +83,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/cexp.c b/src/complex/cexp.c index 73a9d5f7..90aa060b 100644 --- a/src/complex/cexp.c +++ b/src/complex/cexp.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/cexp.c" #include "_tgmath.h" #include <complex.h> @@ -87,3 +89,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/cimag.c b/src/complex/cimag.c index f007d6f6..6b03f9a1 100644 --- a/src/complex/cimag.c +++ b/src/complex/cimag.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/cimag.c" #include "_tgmath.h" @@ -25,3 +27,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/clog.c b/src/complex/clog.c index f1d6697c..a8226cf8 100644 --- a/src/complex/clog.c +++ b/src/complex/clog.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/clog.c" #include "_tgmath.h" #include <complex.h> @@ -82,3 +84,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/conj.c b/src/complex/conj.c index 6f90411f..5f68ab45 100644 --- a/src/complex/conj.c +++ b/src/complex/conj.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/conj.c" #include "_tgmath.h" @@ -21,3 +23,6 @@ r*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/cpow.c b/src/complex/cpow.c index ab95c40b..1f942de3 100644 --- a/src/complex/cpow.c +++ b/src/complex/cpow.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/cpow.c" #include "_tgmath.h" @@ -21,3 +23,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/cproj.c b/src/complex/cproj.c index b0f10841..f2702190 100644 --- a/src/complex/cproj.c +++ b/src/complex/cproj.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/cproj.c" #include "_tgmath.h" @@ -25,3 +27,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/creal.c b/src/complex/creal.c index 38fd2237..7a3e4411 100644 --- a/src/complex/creal.c +++ b/src/complex/creal.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/creal.c" #include "_tgmath.h" @@ -25,3 +27,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/csin.c b/src/complex/csin.c index 5086edba..31aab568 100644 --- a/src/complex/csin.c +++ b/src/complex/csin.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/csin.c" #include "_tgmath.h" @@ -21,3 +23,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/csinh.c b/src/complex/csinh.c index fb7c71a3..36cbcadd 100644 --- a/src/complex/csinh.c +++ b/src/complex/csinh.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/csinh.c" #include "_tgmath.h" #include <complex.h> @@ -81,3 +83,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/csqrt.c b/src/complex/csqrt.c index d7f0b65c..81b3cc3f 100644 --- a/src/complex/csqrt.c +++ b/src/complex/csqrt.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/csqrt.c" #include "_tgmath.h" #include <complex.h> @@ -68,3 +70,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/ctan.c b/src/complex/ctan.c index 4009a7f9..668de7e8 100644 --- a/src/complex/ctan.c +++ b/src/complex/ctan.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/ctan.c" #include "_tgmath.h" @@ -21,3 +23,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/complex/ctanh.c b/src/complex/ctanh.c index 8077fb57..db18b9f2 100644 --- a/src/complex/ctanh.c +++ b/src/complex/ctanh.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "complex/ctanh.c" #include "_tgmath.h" #include <complex.h> @@ -77,3 +79,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/ctype/_tolower.c b/src/ctype/_tolower.c index 461e4402..7ea943df 100644 --- a/src/ctype/_tolower.c +++ b/src/ctype/_tolower.c @@ -1,3 +1,5 @@ +#if 0 + #include <ctype.h> /** convert an uppercase letter to lowercase **/ @@ -17,3 +19,6 @@ LC_CTYPE XOPEN(4) XOBSOLETE(700, FUNCTION(tolower)) */ + + +#endif diff --git a/src/ctype/_toupper.c b/src/ctype/_toupper.c index 65c6c37a..5abdb172 100644 --- a/src/ctype/_toupper.c +++ b/src/ctype/_toupper.c @@ -1,3 +1,5 @@ +#if 0 + #include <ctype.h> /** convert a lowercase letter to uppercase **/ @@ -17,3 +19,6 @@ LC_CTYPE XOPEN(4) XOBSOLETE(700, FUNCTION(toupper)) */ + + +#endif diff --git a/src/ctype/isalnum.c b/src/ctype/isalnum.c index 8c0f128e..65262037 100644 --- a/src/ctype/isalnum.c +++ b/src/ctype/isalnum.c @@ -1,3 +1,5 @@ +#if 0 + #include <ctype.h> #include <limits.h> #include "_assert.h" @@ -21,3 +23,6 @@ RETURN(0, ARGUMENT(c) is not an alphanumeric character) LC_CTYPE STDC(1) */ + + +#endif diff --git a/src/ctype/isalpha.c b/src/ctype/isalpha.c index 4be702bc..2b363108 100644 --- a/src/ctype/isalpha.c +++ b/src/ctype/isalpha.c @@ -1,3 +1,5 @@ +#if 0 + #include <ctype.h> #include <limits.h> #include "_assert.h" @@ -23,3 +25,6 @@ C_LOCALE(`THIS() is true for characters for which FUNCTION(isupper) or FUNCTION( OTHER_LOCALES(`THIS is true for a set of characters for which none of FUNCTION(iscntrl), FUNCTION(isdigit), FUNCTION(ispunct), or FUNCTION(isspace) is true') STDC(1) */ + + +#endif diff --git a/src/ctype/isascii.c b/src/ctype/isascii.c index fc0067d7..d84d6fe3 100644 --- a/src/ctype/isascii.c +++ b/src/ctype/isascii.c @@ -1,3 +1,5 @@ +#if 0 + #include <ctype.h> /** test whether a character is in the ASCII range **/ @@ -20,3 +22,6 @@ RETURN(ZERO, ARGUMENT(c) is outside of the ASCII range) XOBSOLETE(700) XOPEN(4) */ + + +#endif diff --git a/src/ctype/isblank.c b/src/ctype/isblank.c index 09ca5a99..22d43524 100644 --- a/src/ctype/isblank.c +++ b/src/ctype/isblank.c @@ -1,3 +1,5 @@ +#if 0 + #include <ctype.h> #include <limits.h> #include <locale.h> @@ -28,3 +30,6 @@ RETURN(ZERO, arg(c) is not a blank character) LC_CTYPE STDC(199901) */ + + +#endif diff --git a/src/ctype/iscntrl.c b/src/ctype/iscntrl.c index 0e029751..5d982bcf 100644 --- a/src/ctype/iscntrl.c +++ b/src/ctype/iscntrl.c @@ -1,3 +1,5 @@ +#if 0 + #include <limits.h> #include "_assert.h" #include "_ctype.h" @@ -24,3 +26,6 @@ RETURN(0, ARGUMENT(c) is not a control character) LC_CTYPE STDC(1) */ + + +#endif diff --git a/src/ctype/isdigit.c b/src/ctype/isdigit.c index 3577ec55..3b42fc71 100644 --- a/src/ctype/isdigit.c +++ b/src/ctype/isdigit.c @@ -1,3 +1,5 @@ +#if 0 + #include <ctype.h> #include <limits.h> #include "_assert.h" @@ -23,3 +25,6 @@ LC_CTYPE C_LOCALE(`THIS() is true for characters CHAR(0), CHAR(1), CHAR(2), CHAR(3), CHAR(4), CHAR(5), CHAR(6), CHAR(7), CHAR(8), and CHAR(9)') STDC(1) */ + + +#endif diff --git a/src/ctype/isgraph.c b/src/ctype/isgraph.c index e2cca5d2..5c3dad44 100644 --- a/src/ctype/isgraph.c +++ b/src/ctype/isgraph.c @@ -1,3 +1,5 @@ +#if 0 + #include <limits.h> #include "_assert.h" #include "_ctype.h" @@ -25,3 +27,6 @@ LC_CTYPE C_LOCALE(`THIS() is true for all printable characters other than SPACE()') STDC(1) */ + + +#endif diff --git a/src/ctype/islower.c b/src/ctype/islower.c index 9e151725..9714f9b4 100644 --- a/src/ctype/islower.c +++ b/src/ctype/islower.c @@ -1,3 +1,5 @@ +#if 0 + #include <limits.h> #include "_assert.h" #include "_ctype.h" @@ -26,3 +28,6 @@ C_LOCALE(`THIS() is true for the characters CHAR(a), CHAR(b), CHAR(c), CHAR(d), OTHER_LOCALES(`THIS() is true for a set of characters for which none of FUNCTION(iscntrl), FUNCTION(isdigit), FUNCTION(ispunct), or FUNCTION(isspace) is true') STDC(1) */ + + +#endif diff --git a/src/ctype/isprint.c b/src/ctype/isprint.c index cad5fe1d..56d9ed19 100644 --- a/src/ctype/isprint.c +++ b/src/ctype/isprint.c @@ -1,3 +1,5 @@ +#if 0 + #include <limits.h> #include "_assert.h" #include "_ctype.h" @@ -25,3 +27,6 @@ LC_CTYPE C_LOCALE(`THIS() is true for any printing character including SPACE()') STDC(1) */ + + +#endif diff --git a/src/ctype/ispunct.c b/src/ctype/ispunct.c index cea5446d..5bb3914e 100644 --- a/src/ctype/ispunct.c +++ b/src/ctype/ispunct.c @@ -1,3 +1,5 @@ +#if 0 + #include <limits.h> #include "_assert.h" #include "_ctype.h" @@ -25,3 +27,6 @@ LC_CTYPE C_LOCALE(`THIS() is true for printing characters for which neither FUNCTION(isspace) nor FUNCTION(isalnum) is true') STDC(1) */ + + +#endif diff --git a/src/ctype/isspace.c b/src/ctype/isspace.c index 9d274399..2a0a4423 100644 --- a/src/ctype/isspace.c +++ b/src/ctype/isspace.c @@ -1,3 +1,5 @@ +#if 0 + #include <limits.h> #include "_assert.h" #include "_ctype.h" @@ -26,3 +28,6 @@ C_LOCALE(`THIS() is true for the standard white-space characters: SPACE, form fe OTHER_LOCALES(`THIS() is true for the standard white-space characters and a set of characters for which FUNCTION(isalnum) is false') STDC(1) */ + + +#endif diff --git a/src/ctype/isupper.c b/src/ctype/isupper.c index c2b06f1f..a9506910 100644 --- a/src/ctype/isupper.c +++ b/src/ctype/isupper.c @@ -1,3 +1,5 @@ +#if 0 + #include <limits.h> #include "_assert.h" #include "_ctype.h" @@ -26,3 +28,6 @@ C_LOCALE(`THIS() is true for the characters CHAR(A), CHAR(B), CHAR(C), CHAR(D), OTHER_LOCALES(`THIS() is true for a set of characters for which none of FUNCTION(iscntrl), FUNCTION(isdigit), FUNCTION(ispunct), or FUNCTION(isspace) is true') STDC(1) */ + + +#endif diff --git a/src/ctype/isxdigit.c b/src/ctype/isxdigit.c index 35f2e9e7..30d9205c 100644 --- a/src/ctype/isxdigit.c +++ b/src/ctype/isxdigit.c @@ -1,3 +1,5 @@ +#if 0 + #include <limits.h> #include "_assert.h" #include "_ctype.h" @@ -25,3 +27,6 @@ LC_CTYPE C_LOCALE(`THIS() is true for the characters CHAR(0), CHAR(1), CHAR(2), CHAR(3), CHAR(4), CHAR(5), CHAR(6), CHAR(7), CHAR(8), CHAR(9), CHAR(a), CHAR(b), CHAR(c), CHAR(d), CHAR(e), CHAR(f), CHAR(A), CHAR(B), CHAR(C), CHAR(D), CHAR(E), and CHAR(F)') STDC(1) */ + + +#endif diff --git a/src/ctype/toascii.c b/src/ctype/toascii.c index 8a625b44..118e97df 100644 --- a/src/ctype/toascii.c +++ b/src/ctype/toascii.c @@ -1,3 +1,5 @@ +#if 0 + #include <ctype.h> /** convert a character to 7-bit ASCII **/ @@ -16,3 +18,6 @@ RETURN(ARGUMENT(c) & 0x7f) XOBSOLETE(700) XOPEN(4) */ + + +#endif diff --git a/src/ctype/tolower.c b/src/ctype/tolower.c index 3a16dbab..6cfe4a3c 100644 --- a/src/ctype/tolower.c +++ b/src/ctype/tolower.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <limits.h> #include "_ctype.h" @@ -28,3 +30,6 @@ RETURN_FAILURE(ARGUMENT(c), ARGUMENT(c) was not an uppercase letter or it has no LC_CTYPE STDC(1) */ + + +#endif diff --git a/src/ctype/toupper.c b/src/ctype/toupper.c index 741b6784..8c84a423 100644 --- a/src/ctype/toupper.c +++ b/src/ctype/toupper.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <limits.h> #include "_ctype.h" @@ -28,3 +30,6 @@ RETURN_FAILURE(ARGUMENT(c), ARGUMENT(c) was not a lowercase letter or it has no LC_CTYPE STDC(1) */ + + +#endif diff --git a/src/dirent/closedir.c b/src/dirent/closedir.c index 28523411..c59fb783 100644 --- a/src/dirent/closedir.c +++ b/src/dirent/closedir.c @@ -1,3 +1,5 @@ +#if 0 + #include <dirent.h> #include <sys/types.h> #include <unistd.h> @@ -18,3 +20,6 @@ int closedir(DIR *dirp) /* POSIX(1) */ + + +#endif diff --git a/src/dirent/opendir.c b/src/dirent/opendir.c index 8ab8f190..e2507e54 100644 --- a/src/dirent/opendir.c +++ b/src/dirent/opendir.c @@ -1,3 +1,5 @@ +#if 0 + #include <dirent.h> #include <errno.h> #include <sys/types.h> @@ -26,3 +28,6 @@ DIR * opendir(const char * dirname) /* POSIX(1) */ + + +#endif diff --git a/src/dirent/readdir.c b/src/dirent/readdir.c index 7ca7c55f..9776691f 100644 --- a/src/dirent/readdir.c +++ b/src/dirent/readdir.c @@ -1,3 +1,5 @@ +#if 0 + #include <dirent.h> #include <limits.h> #include <errno.h> @@ -43,3 +45,6 @@ struct dirent * readdir(DIR * dirp) /* POSIX(1) */ + + +#endif diff --git a/src/dirent/rewinddir.c b/src/dirent/rewinddir.c index 8cca9041..e878f598 100644 --- a/src/dirent/rewinddir.c +++ b/src/dirent/rewinddir.c @@ -1,3 +1,5 @@ +#if 0 + #include <dirent.h> #include <sys/types.h> #include <unistd.h> @@ -11,3 +13,6 @@ void rewinddir(DIR * dirp) /* POSIX(1) */ + + +#endif diff --git a/src/dirent/seekdir.c b/src/dirent/seekdir.c index 3cbcfe17..c93ecd0a 100644 --- a/src/dirent/seekdir.c +++ b/src/dirent/seekdir.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <dirent.h> #include <unistd.h> @@ -11,3 +13,6 @@ void seekdir(DIR * dirp, long loc) /* XOPEN(4) */ + + +#endif diff --git a/src/dirent/telldir.c b/src/dirent/telldir.c index 0aa8a72c..24efd6c5 100644 --- a/src/dirent/telldir.c +++ b/src/dirent/telldir.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <dirent.h> #include <unistd.h> @@ -11,3 +13,6 @@ long telldir(DIR * dirp) /* XOPEN(4) */ + + +#endif diff --git a/src/dlfcn/dlclose.c b/src/dlfcn/dlclose.c index cfe43112..9189caec 100644 --- a/src/dlfcn/dlclose.c +++ b/src/dlfcn/dlclose.c @@ -1,3 +1,5 @@ +#if 0 + #include <dlfcn.h> #include "_dlfcn.h" @@ -11,3 +13,6 @@ int dlclose(void *handle) /* XOPEN(500) */ + + +#endif diff --git a/src/dlfcn/dlerror.c b/src/dlfcn/dlerror.c index fb1dc0e6..c2d26dcd 100644 --- a/src/dlfcn/dlerror.c +++ b/src/dlfcn/dlerror.c @@ -1,3 +1,5 @@ +#if 0 + #include <dlfcn.h> #include "_dlfcn.h" @@ -10,3 +12,6 @@ char *dlerror(void) /* XOPEN(500) */ + + +#endif diff --git a/src/dlfcn/dlopen.c b/src/dlfcn/dlopen.c index f67e51ff..a8929781 100644 --- a/src/dlfcn/dlopen.c +++ b/src/dlfcn/dlopen.c @@ -1,3 +1,5 @@ +#if 0 + #include <dlfcn.h> #include <fcntl.h> #include <stdlib.h> @@ -32,3 +34,6 @@ void *dlopen(const char *file, int mode) /* XOPEN(500) */ + + +#endif diff --git a/src/dlfcn/dlsym.c b/src/dlfcn/dlsym.c index 1648fdbc..f4afe83e 100644 --- a/src/dlfcn/dlsym.c +++ b/src/dlfcn/dlsym.c @@ -1,3 +1,5 @@ +#if 0 + #include <dlfcn.h> #include "_dlfcn.h" @@ -11,3 +13,6 @@ void *dlsym(void *restrict handle, const char *restrict name) /* XOPEN(500) */ + + +#endif diff --git a/src/errno/__errno.c b/src/errno/__errno.c index e4a329f2..c4290902 100644 --- a/src/errno/__errno.c +++ b/src/errno/__errno.c @@ -1,3 +1,5 @@ +#if 0 + #include "_perthread.h" /* @@ -14,3 +16,6 @@ int *__errno(void) THREAD_LOCAL int e = 0; return &e; } + + +#endif diff --git a/src/fcntl/creat.c b/src/fcntl/creat.c index 3161da79..de99ae36 100644 --- a/src/fcntl/creat.c +++ b/src/fcntl/creat.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <fcntl.h> @@ -9,3 +11,6 @@ int creat(const char *path, mode_t mode) /* POSIX(1) */ + + +#endif diff --git a/src/fcntl/fcntl.c b/src/fcntl/fcntl.c index 3e2715b4..a66a5ec3 100644 --- a/src/fcntl/fcntl.c +++ b/src/fcntl/fcntl.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <fcntl.h> #include <errno.h> @@ -58,3 +60,6 @@ int fcntl(int fildes, int cmd, ...) /* POSIX(1) */ + + +#endif diff --git a/src/fcntl/open.c b/src/fcntl/open.c index bc1ae2c1..0317a888 100644 --- a/src/fcntl/open.c +++ b/src/fcntl/open.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <fcntl.h> #include <sys/stat.h> /* OH */ @@ -28,3 +30,6 @@ int open(const char *path, int oflag, ...) /* POSIX(1) */ + + +#endif diff --git a/src/fenv/feclearexcept.c b/src/fenv/feclearexcept.c index 646b4669..ca16cf3a 100644 --- a/src/fenv/feclearexcept.c +++ b/src/fenv/feclearexcept.c @@ -1,3 +1,5 @@ +#if 0 + #include <fenv.h> int feclearexcept(int excepts) @@ -14,3 +16,6 @@ d*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/fenv/fegetenv.c b/src/fenv/fegetenv.c index 16ffae99..0f1cd0e2 100644 --- a/src/fenv/fegetenv.c +++ b/src/fenv/fegetenv.c @@ -1,3 +1,5 @@ +#if 0 + #include <fenv.h> int fegetenv(fenv_t *envp) @@ -15,3 +17,6 @@ d*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/fenv/fegetexceptflag.c b/src/fenv/fegetexceptflag.c index ed41fb83..c6847980 100644 --- a/src/fenv/fegetexceptflag.c +++ b/src/fenv/fegetexceptflag.c @@ -1,3 +1,5 @@ +#if 0 + #include <fenv.h> int fegetexceptflag(fexcept_t *flagp, int excepts) @@ -16,3 +18,6 @@ d*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/fenv/fegetround.c b/src/fenv/fegetround.c index 13e5bf34..39855a99 100644 --- a/src/fenv/fegetround.c +++ b/src/fenv/fegetround.c @@ -1,3 +1,5 @@ +#if 0 + #include <fenv.h> int fegetround(void) @@ -19,3 +21,6 @@ r*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/fenv/feholdexcept.c b/src/fenv/feholdexcept.c index 7be0d7f7..b7f6d22c 100644 --- a/src/fenv/feholdexcept.c +++ b/src/fenv/feholdexcept.c @@ -1,3 +1,5 @@ +#if 0 + #include <fenv.h> int feholdexcept(fenv_t *envp) @@ -22,3 +24,6 @@ r*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/fenv/feraiseexcept.c b/src/fenv/feraiseexcept.c index 9f555dde..7ad17eb7 100644 --- a/src/fenv/feraiseexcept.c +++ b/src/fenv/feraiseexcept.c @@ -1,3 +1,5 @@ +#if 0 + #include <fenv.h> int feraiseexcept(int excepts) @@ -17,3 +19,6 @@ d*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/fenv/fesetenv.c b/src/fenv/fesetenv.c index b95bbae6..c1b20e3c 100644 --- a/src/fenv/fesetenv.c +++ b/src/fenv/fesetenv.c @@ -1,3 +1,5 @@ +#if 0 + #include <fenv.h> int fesetenv(const fenv_t *envp) @@ -18,3 +20,6 @@ d*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/fenv/fesetexceptflag.c b/src/fenv/fesetexceptflag.c index 1c2a0ce9..ee5eccb4 100644 --- a/src/fenv/fesetexceptflag.c +++ b/src/fenv/fesetexceptflag.c @@ -1,3 +1,5 @@ +#if 0 + #include <fenv.h> int fesetexceptflag(const fexcept_t *flagp, int excepts) @@ -19,3 +21,6 @@ d*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/fenv/fesetround.c b/src/fenv/fesetround.c index d0f50c76..fa2369dd 100644 --- a/src/fenv/fesetround.c +++ b/src/fenv/fesetround.c @@ -1,3 +1,5 @@ +#if 0 + #include <fenv.h> int fesetround(int round) @@ -21,3 +23,6 @@ int fesetround(int round) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/fenv/fetestexcept.c b/src/fenv/fetestexcept.c index 185fc530..6fb5374b 100644 --- a/src/fenv/fetestexcept.c +++ b/src/fenv/fetestexcept.c @@ -1,3 +1,5 @@ +#if 0 + #include <fenv.h> int fetestexcept(int excepts) @@ -31,3 +33,6 @@ r*/ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/fenv/feupdateenv.c b/src/fenv/feupdateenv.c index ce979808..638509a1 100644 --- a/src/fenv/feupdateenv.c +++ b/src/fenv/feupdateenv.c @@ -1,3 +1,5 @@ +#if 0 + #include <fenv.h> int feupdateenv(const fenv_t *envp) @@ -18,3 +20,6 @@ int feupdateenv(const fenv_t *envp) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/fmtmsg/fmtmsg.c b/src/fmtmsg/fmtmsg.c index 2a94fe19..1c9eabb6 100644 --- a/src/fmtmsg/fmtmsg.c +++ b/src/fmtmsg/fmtmsg.c @@ -1,3 +1,5 @@ +#if 0 + #include <fmtmsg.h> int fmtmsg(long classification, const char * label, int severity, const char * text, const char * action, const char * tag) @@ -8,3 +10,6 @@ int fmtmsg(long classification, const char * label, int severity, const char * t /* XOPEN(400) */ + + +#endif diff --git a/src/fnmatch/fnmatch.c b/src/fnmatch/fnmatch.c index 069df2ee..188638bd 100644 --- a/src/fnmatch/fnmatch.c +++ b/src/fnmatch/fnmatch.c @@ -1,3 +1,5 @@ +#if 0 + #include <fnmatch.h> #include <string.h> #include "_assert.h" @@ -97,3 +99,6 @@ int fnmatch(const char * pattern, const char * string, int flags) /* POSIX(2) */ + + +#endif diff --git a/src/ftw/__ftw.c b/src/ftw/__ftw.c index 2acee0cb..0f9b2f79 100644 --- a/src/ftw/__ftw.c +++ b/src/ftw/__ftw.c @@ -1,3 +1,5 @@ +#if 0 + #include "_ftw.h" int __ftw(const char *path, int (*fn)(), int fd_limit, int flags) @@ -10,3 +12,6 @@ int __ftw(const char *path, int (*fn)(), int fd_limit, int flags) return ret; } + + +#endif diff --git a/src/ftw/ftw.c b/src/ftw/ftw.c index f500615e..7e3bff57 100644 --- a/src/ftw/ftw.c +++ b/src/ftw/ftw.c @@ -1,3 +1,5 @@ +#if 0 + #include <ftw.h> #include <sys/stat.h> #include "_ftw.h" @@ -10,3 +12,6 @@ int ftw(const char * path, int (*fn) (const char *, const struct stat * ptr, int /* XOPEN(4) */ + + +#endif diff --git a/src/ftw/nftw.c b/src/ftw/nftw.c index 7dd80dd6..463d9fe5 100644 --- a/src/ftw/nftw.c +++ b/src/ftw/nftw.c @@ -1,3 +1,5 @@ +#if 0 + #include <ftw.h> int nftw(const char * path, int (*fn) (const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags) @@ -8,3 +10,6 @@ int nftw(const char * path, int (*fn) (const char *, const struct stat *, int, s /* XOPEN(400) */ + + +#endif diff --git a/src/glob/glob.c b/src/glob/glob.c index 02d97add..8a45ed65 100644 --- a/src/glob/glob.c +++ b/src/glob/glob.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <glob.h> #include <stdlib.h> @@ -119,3 +121,6 @@ int glob(const char * restrict pattern, int flags, int (*errfunc) (const char * POSIX(2) */ + + +#endif diff --git a/src/glob/globfree.c b/src/glob/globfree.c index 87f77350..c9e6dc1a 100644 --- a/src/glob/globfree.c +++ b/src/glob/globfree.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <glob.h> #include <stdlib.h> @@ -23,3 +25,6 @@ void globfree(glob_t * pglob) POSIX(2) */ + + +#endif diff --git a/src/grp/__grp.c b/src/grp/__grp.c index 60ddc157..6ac139f1 100644 --- a/src/grp/__grp.c +++ b/src/grp/__grp.c @@ -1,3 +1,5 @@ +#if 0 + #include "_grp.h" #ifndef _XOPEN_SOURCE @@ -17,3 +19,6 @@ struct __grp __grp = /* POSIX(1) */ + + +#endif diff --git a/src/grp/endgrent.c b/src/grp/endgrent.c index c4cb3871..6869ed1f 100644 --- a/src/grp/endgrent.c +++ b/src/grp/endgrent.c @@ -1,3 +1,5 @@ +#if 0 + #include <grp.h> #include <stdio.h> #include "_grp.h" @@ -13,3 +15,6 @@ void endgrent(void) /* XOPEN(400) */ + + +#endif diff --git a/src/grp/getgrent.c b/src/grp/getgrent.c index 84dd57bb..5b455ae7 100644 --- a/src/grp/getgrent.c +++ b/src/grp/getgrent.c @@ -1,3 +1,5 @@ +#if 0 + #if ((!defined _POSIX_C_SOURCE) || (_POSIX_C_SOURCE < 2)) #undef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 2 @@ -87,3 +89,6 @@ struct group * getgrent(void) /* XOPEN(400) */ + + +#endif diff --git a/src/grp/getgrgid.c b/src/grp/getgrgid.c index 64081f64..3b745f97 100644 --- a/src/grp/getgrgid.c +++ b/src/grp/getgrgid.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <grp.h> #include "_grp.h" @@ -21,3 +23,6 @@ struct group * getgrgid(gid_t gid) /* POSIX(1) */ + + +#endif diff --git a/src/grp/getgrnam.c b/src/grp/getgrnam.c index 0ee23bf6..dfa0d5e7 100644 --- a/src/grp/getgrnam.c +++ b/src/grp/getgrnam.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <grp.h> #include <string.h> @@ -22,3 +24,6 @@ struct group * getgrnam(const char * name) /* POSIX(1) */ + + +#endif diff --git a/src/grp/setgrent.c b/src/grp/setgrent.c index 884c1c5c..13c20a1f 100644 --- a/src/grp/setgrent.c +++ b/src/grp/setgrent.c @@ -1,3 +1,5 @@ +#if 0 + #include <grp.h> #include <stdio.h> #include "_grp.h" @@ -12,3 +14,6 @@ void setgrent(void) /* XOPEN(400) */ + + +#endif diff --git a/src/grp/struct_group.c b/src/grp/struct_group.c index e1f8c376..b1abb325 100644 --- a/src/grp/struct_group.c +++ b/src/grp/struct_group.c @@ -1,3 +1,5 @@ +#if 0 + struct group { char * gr_name; gid_t gr_gid; @@ -7,3 +9,6 @@ struct group { /* POSIX(1) */ + + +#endif diff --git a/src/iconv/iconv.c b/src/iconv/iconv.c index bdf57b13..55a22401 100644 --- a/src/iconv/iconv.c +++ b/src/iconv/iconv.c @@ -1,3 +1,5 @@ +#if 0 + #include <iconv.h> size_t iconv(iconv_t cd, char ** restrict inbuf, size_t * restrict inbytesleft, char ** restrict outbuf, size_t * restrict outbytesleft) @@ -9,3 +11,6 @@ size_t iconv(iconv_t cd, char ** restrict inbuf, size_t * restrict inbytesleft, XOPEN(4) POSIX(200809) */ + + +#endif diff --git a/src/iconv/iconv_close.c b/src/iconv/iconv_close.c index 4bd5082a..83c416e1 100644 --- a/src/iconv/iconv_close.c +++ b/src/iconv/iconv_close.c @@ -1,3 +1,5 @@ +#if 0 + #include <iconv.h> int iconv_close(iconv_t cd) @@ -9,3 +11,6 @@ int iconv_close(iconv_t cd) XOPEN(4) POSIX(200809) */ + + +#endif diff --git a/src/iconv/iconv_open.c b/src/iconv/iconv_open.c index 41a04ffd..49d1e444 100644 --- a/src/iconv/iconv_open.c +++ b/src/iconv/iconv_open.c @@ -1,3 +1,5 @@ +#if 0 + #include <iconv.h> iconv_t iconv_open(const char * tocode, const char * fromcode) @@ -9,3 +11,6 @@ iconv_t iconv_open(const char * tocode, const char * fromcode) XOPEN(4) POSIX(200809) */ + + +#endif diff --git a/src/inttypes/imaxabs.c b/src/inttypes/imaxabs.c index 0ea60644..7f4e22ae 100644 --- a/src/inttypes/imaxabs.c +++ b/src/inttypes/imaxabs.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <inttypes.h> @@ -22,3 +24,6 @@ UNDEFINED(ABS(ARGUMENT(j)) cannot be represented RETURN_SUCCESS(ABS(ARGUMENT(j)) STDC(199901) */ + + +#endif diff --git a/src/inttypes/imaxdiv.c b/src/inttypes/imaxdiv.c index eb99f2cf..ee318996 100644 --- a/src/inttypes/imaxdiv.c +++ b/src/inttypes/imaxdiv.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <inttypes.h> @@ -21,3 +23,6 @@ UNDEFINED(The result cannot be represented) RETURN_SUCCESS(a TYPEDEF(ldiv_t) containing both the quotient and remainder) STDC(199901) */ + + +#endif diff --git a/src/inttypes/strtoimax.c b/src/inttypes/strtoimax.c index 9a42b614..4c8db326 100644 --- a/src/inttypes/strtoimax.c +++ b/src/inttypes/strtoimax.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <ctype.h> #include <errno.h> @@ -17,3 +19,6 @@ intmax_t strtoimax(const char * restrict nptr, char ** restrict endptr, int base /* STDC(199901) */ + + +#endif diff --git a/src/inttypes/strtoumax.c b/src/inttypes/strtoumax.c index f8017371..25dca76c 100644 --- a/src/inttypes/strtoumax.c +++ b/src/inttypes/strtoumax.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <ctype.h> #include <errno.h> @@ -17,3 +19,6 @@ uintmax_t strtoumax(const char *restrict nptr, char ** restrict endptr, int base /* STDC(199901) */ + + +#endif diff --git a/src/inttypes/wcstoimax.c b/src/inttypes/wcstoimax.c index 21c0a56d..8ab9734c 100644 --- a/src/inttypes/wcstoimax.c +++ b/src/inttypes/wcstoimax.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <errno.h> #include <inttypes.h> @@ -19,3 +21,6 @@ intmax_t wcstoimax(const wchar_t * restrict nptr, wchar_t ** restrict endptr, in /* STDC(199901) */ + + +#endif diff --git a/src/inttypes/wcstoumax.c b/src/inttypes/wcstoumax.c index 3ffbf5d8..f19ab877 100644 --- a/src/inttypes/wcstoumax.c +++ b/src/inttypes/wcstoumax.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <errno.h> #include <inttypes.h> @@ -19,3 +21,6 @@ uintmax_t wcstoumax(const wchar_t * restrict nptr, wchar_t ** restrict endptr, i /* STDC(199901) */ + + +#endif diff --git a/src/langinfo/nl_langinfo.c b/src/langinfo/nl_langinfo.c index 68033684..7fd5d1bf 100644 --- a/src/langinfo/nl_langinfo.c +++ b/src/langinfo/nl_langinfo.c @@ -1,3 +1,5 @@ +#if 0 + #include <nl_types.h> #include <langinfo.h> #include <stddef.h> @@ -68,3 +70,6 @@ char * nl_langinfo(nl_item item) XOPEN(4) POSIX(200809) */ + + +#endif diff --git a/src/libgen/__loc1.c b/src/libgen/__loc1.c index 7c3281ee..ec03e369 100644 --- a/src/libgen/__loc1.c +++ b/src/libgen/__loc1.c @@ -1,5 +1,10 @@ +#if 0 + #include <libgen.h> char *__loc1; /* XOPEN(400,600) */ + + +#endif diff --git a/src/libgen/basename.c b/src/libgen/basename.c index 1a051854..0f408939 100644 --- a/src/libgen/basename.c +++ b/src/libgen/basename.c @@ -1,3 +1,5 @@ +#if 0 + #include <libgen.h> #include <string.h> @@ -39,3 +41,6 @@ char * basename(char * path) /* XOPEN(400) */ + + +#endif diff --git a/src/libgen/dirname.c b/src/libgen/dirname.c index 42917d54..e4c1e611 100644 --- a/src/libgen/dirname.c +++ b/src/libgen/dirname.c @@ -1,3 +1,5 @@ +#if 0 + #include <libgen.h> #include <string.h> @@ -9,3 +11,6 @@ char * dirname(char * path) /* XOPEN(400) */ + + +#endif diff --git a/src/libgen/regcmp.c b/src/libgen/regcmp.c index 089107ba..3f6a2eed 100644 --- a/src/libgen/regcmp.c +++ b/src/libgen/regcmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <libgen.h> char *regcmp(const char *string1, ... /*, (char*)0 */) { @@ -7,3 +9,6 @@ char *regcmp(const char *string1, ... /*, (char*)0 */) /* XOPEN(400,600) */ + + +#endif diff --git a/src/libgen/regex.c b/src/libgen/regex.c index 61957bc8..0db7a342 100644 --- a/src/libgen/regex.c +++ b/src/libgen/regex.c @@ -1,3 +1,5 @@ +#if 0 + #include <libgen.h> char *regex(const char *re, const char *subject, ...) @@ -8,3 +10,6 @@ char *regex(const char *re, const char *subject, ...) /* XOPEN(400,600) */ + + +#endif diff --git a/src/locale/__get_locale.c b/src/locale/__get_locale.c index b795d0f0..162db164 100644 --- a/src/locale/__get_locale.c +++ b/src/locale/__get_locale.c @@ -1,3 +1,5 @@ +#if 0 + #include "_locale.h" /* @@ -21,3 +23,6 @@ struct __locale_t * __get_locale(void) } return &l; } + + +#endif diff --git a/src/locale/__load_locale.c b/src/locale/__load_locale.c index 66177eb6..4b6c8ca4 100644 --- a/src/locale/__load_locale.c +++ b/src/locale/__load_locale.c @@ -1,3 +1,5 @@ +#if 0 + #include <locale.h> #include <limits.h> #include <stdio.h> @@ -231,3 +233,6 @@ char * __load_locale(struct __locale_t *loc, int mask, const char *name) /* STDC(0) */ + + +#endif diff --git a/src/locale/localeconv.c b/src/locale/localeconv.c index 90432faf..58405261 100644 --- a/src/locale/localeconv.c +++ b/src/locale/localeconv.c @@ -1,3 +1,5 @@ +#if 0 + #include <locale.h> #include "_locale.h" @@ -21,3 +23,6 @@ LC_MONETARY LC_NUMERIC STDC(1) */ + + +#endif diff --git a/src/locale/setlocale.c b/src/locale/setlocale.c index 5b5dbcde..4e8e909f 100644 --- a/src/locale/setlocale.c +++ b/src/locale/setlocale.c @@ -1,3 +1,5 @@ +#if 0 + #include <locale.h> #include <string.h> #include <stdlib.h> @@ -83,3 +85,6 @@ RETURN(NONNULL, the current locale name for ARGUMENT(category)) IMPLEMENTATION(The native environment) STDC(1) */ + + +#endif diff --git a/src/math/__fpclassify.c b/src/math/__fpclassify.c index 8331bd41..48933db8 100644 --- a/src/math/__fpclassify.c +++ b/src/math/__fpclassify.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "__fpclassify.c" #include <math.h> #include "_tgmath.h" @@ -11,3 +13,6 @@ int TGFN(__fpclassify)(TYPE x) /* LINK(m) */ + + +#endif diff --git a/src/math/acos.c b/src/math/acos.c index f4e0544d..8c934d0e 100644 --- a/src/math/acos.c +++ b/src/math/acos.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "acos.c" #include <errno.h> #include <math.h> @@ -38,3 +40,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/acosh.c b/src/math/acosh.c index 4830b027..5bc18422 100644 --- a/src/math/acosh.c +++ b/src/math/acosh.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "acosh.c" #include "_tgmath.h" #include <math.h> @@ -26,3 +28,6 @@ STDC(199901) XOPEN(400) LINK(m) */ + + +#endif diff --git a/src/math/asin.c b/src/math/asin.c index 5a6ca259..fc42f7f8 100644 --- a/src/math/asin.c +++ b/src/math/asin.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "asin.c" #include <errno.h> #include <math.h> @@ -36,3 +38,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/asinh.c b/src/math/asinh.c index 9f4589e6..c2e6b640 100644 --- a/src/math/asinh.c +++ b/src/math/asinh.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "asinh.c" #include "_tgmath.h" #include <math.h> @@ -18,3 +20,6 @@ STDC(199901) XOPEN(400) LINK(m) */ + + +#endif diff --git a/src/math/atan.c b/src/math/atan.c index 267670d3..0bf07ec7 100644 --- a/src/math/atan.c +++ b/src/math/atan.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "atan.c" #include <errno.h> #include <math.h> @@ -51,3 +53,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/atan2.c b/src/math/atan2.c index 8d7c1260..d81b417e 100644 --- a/src/math/atan2.c +++ b/src/math/atan2.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "atan2.c" #include <errno.h> #include <math.h> @@ -84,3 +86,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/atanh.c b/src/math/atanh.c index d33e91ea..97cb2b3b 100644 --- a/src/math/atanh.c +++ b/src/math/atanh.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "atanh.c" #include "_tgmath.h" #include <math.h> @@ -27,3 +29,6 @@ STDC(199901) XOPEN(400) LINK(m) */ + + +#endif diff --git a/src/math/cbrt.c b/src/math/cbrt.c index 74c48d52..4e924db2 100644 --- a/src/math/cbrt.c +++ b/src/math/cbrt.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "cbrt.c" #include "_tgmath.h" #include <math.h> @@ -17,3 +19,6 @@ STDC(199901) XOPEN(400) LINK(m) */ + + +#endif diff --git a/src/math/ceil.c b/src/math/ceil.c index 34a93fe3..291ecf18 100644 --- a/src/math/ceil.c +++ b/src/math/ceil.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "ceil.c" #include <errno.h> #include <math.h> @@ -33,3 +35,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/copysign.c b/src/math/copysign.c index c807cfc3..6a9fe9a3 100644 --- a/src/math/copysign.c +++ b/src/math/copysign.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "copysign.c" #include "_tgmath.h" #include <math.h> @@ -22,3 +24,6 @@ TYPE TGFN(copysign)(TYPE x, TYPE y) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/cos.c b/src/math/cos.c index b8b29aa0..fec3824a 100644 --- a/src/math/cos.c +++ b/src/math/cos.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "cos.c" #include <errno.h> #include <math.h> @@ -54,3 +56,6 @@ LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/cosh.c b/src/math/cosh.c index 735c8cd4..66c20bf2 100644 --- a/src/math/cosh.c +++ b/src/math/cosh.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "cosh.c" #include <errno.h> #include <math.h> @@ -32,3 +34,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/erf.c b/src/math/erf.c index 2115982b..db5488e1 100644 --- a/src/math/erf.c +++ b/src/math/erf.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "erf.c" #include "_tgmath.h" #include <math.h> @@ -18,3 +20,6 @@ STDC(199901) XOPEN(4) LINK(m) */ + + +#endif diff --git a/src/math/erfc.c b/src/math/erfc.c index b937590d..7242e9de 100644 --- a/src/math/erfc.c +++ b/src/math/erfc.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "erfc.c" #include "_tgmath.h" #include <math.h> @@ -16,3 +18,6 @@ STDC(199901) XOPEN(4) LINK(m) */ + + +#endif diff --git a/src/math/exp.c b/src/math/exp.c index 4b25da63..0d6b40b8 100644 --- a/src/math/exp.c +++ b/src/math/exp.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "exp.c" #include <errno.h> #include <math.h> @@ -47,3 +49,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/exp2.c b/src/math/exp2.c index 16ff5940..5e8e17b2 100644 --- a/src/math/exp2.c +++ b/src/math/exp2.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "exp2.c" #include "_tgmath.h" #include <math.h> @@ -17,3 +19,6 @@ TYPE TGFN(exp2)(TYPE x) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/expm1.c b/src/math/expm1.c index 40684b05..0fdee6fe 100644 --- a/src/math/expm1.c +++ b/src/math/expm1.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "expm1.c" #include "_tgmath.h" #include <math.h> @@ -18,3 +20,6 @@ STDC(199901) XOPEN(400) LINK(m) */ + + +#endif diff --git a/src/math/fabs.c b/src/math/fabs.c index 5ee54286..b156d478 100644 --- a/src/math/fabs.c +++ b/src/math/fabs.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "fabs.c" #include <errno.h> #include <math.h> @@ -32,3 +34,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/fdim.c b/src/math/fdim.c index 4f6b3896..289f5378 100644 --- a/src/math/fdim.c +++ b/src/math/fdim.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "fdim.c" #include "_tgmath.h" #include <math.h> @@ -15,3 +17,6 @@ TYPE TGFN(fdim)(TYPE x, TYPE y) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/floor.c b/src/math/floor.c index e2d2093a..d759c9c3 100644 --- a/src/math/floor.c +++ b/src/math/floor.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "floor.c" #include <errno.h> #include <math.h> @@ -33,3 +35,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/fma.c b/src/math/fma.c index 83e5f5b4..d36aa408 100644 --- a/src/math/fma.c +++ b/src/math/fma.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "fma.c" #include "_tgmath.h" #include <math.h> @@ -33,3 +35,6 @@ TYPE TGFN(fma)(TYPE x, TYPE y, TYPE z) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/fmax.c b/src/math/fmax.c index 7e5d8a61..e4bf1d11 100644 --- a/src/math/fmax.c +++ b/src/math/fmax.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "fmax.c" #include "_tgmath.h" #include <math.h> @@ -17,3 +19,6 @@ TYPE TGFN(fmax)(TYPE x, TYPE y) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/fmin.c b/src/math/fmin.c index 4408f432..d1427ad7 100644 --- a/src/math/fmin.c +++ b/src/math/fmin.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "fmin.c" #include "_tgmath.h" #include <math.h> @@ -17,3 +19,6 @@ TYPE TGFN(fmin)(TYPE x, TYPE y) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/fmod.c b/src/math/fmod.c index 15435008..68474424 100644 --- a/src/math/fmod.c +++ b/src/math/fmod.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "fmod.c" #include <errno.h> #include <math.h> @@ -48,3 +50,6 @@ IMPLEMENTATION(Whether ARGUMENT(y) being LITERAL(0) results in a domain error or LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/frexp.c b/src/math/frexp.c index 04579dff..e60a5e04 100644 --- a/src/math/frexp.c +++ b/src/math/frexp.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "frexp.c" #include <errno.h> #include <math.h> @@ -43,3 +45,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/gamma.c b/src/math/gamma.c index b43abfa6..d26da45b 100644 --- a/src/math/gamma.c +++ b/src/math/gamma.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> double gamma(double x) @@ -9,3 +11,6 @@ double gamma(double x) XOPEN(4,600) LINK(m) */ + + +#endif diff --git a/src/math/hypot.c b/src/math/hypot.c index ce902c59..60f68384 100644 --- a/src/math/hypot.c +++ b/src/math/hypot.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "hypot.c" #include "_tgmath.h" #include <math.h> @@ -20,3 +22,6 @@ STDC(199901) XOPEN(4) LINK(m) */ + + +#endif diff --git a/src/math/ilogb.c b/src/math/ilogb.c index 5d895b6d..8c24aecb 100644 --- a/src/math/ilogb.c +++ b/src/math/ilogb.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "ilogb.c" #include "_tgmath.h" #include <math.h> @@ -21,3 +23,6 @@ STDC(199901) XOPEN(400) LINK(m) */ + + +#endif diff --git a/src/math/isgreater.c b/src/math/isgreater.c index 80344c03..b778c1dd 100644 --- a/src/math/isgreater.c +++ b/src/math/isgreater.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> #define isgreater(__x, __y) ((__x) > (__y)) @@ -6,3 +8,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/isgreaterequal.c b/src/math/isgreaterequal.c index acc5d937..0c9cdc03 100644 --- a/src/math/isgreaterequal.c +++ b/src/math/isgreaterequal.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> #define isgreaterequal(__x, __y) ((__x) >= (__y)) @@ -6,3 +8,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/isless.c b/src/math/isless.c index 66f7d939..673afce7 100644 --- a/src/math/isless.c +++ b/src/math/isless.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> #define isless(__x, __y) ((__x) < (__y)) @@ -6,3 +8,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/islessequal.c b/src/math/islessequal.c index 34a1c138..3f300c4a 100644 --- a/src/math/islessequal.c +++ b/src/math/islessequal.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> #define islessequal(__x, __y) ((__x) <= (__y)) @@ -6,3 +8,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/islessgreater.c b/src/math/islessgreater.c index b17fb161..ea0d056c 100644 --- a/src/math/islessgreater.c +++ b/src/math/islessgreater.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> #define islessgreater(__x, __y) ((__x) < (__y) || (__x) > (__y)) @@ -6,3 +8,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/isunordered.c b/src/math/isunordered.c index dab6fe64..0cdf50bc 100644 --- a/src/math/isunordered.c +++ b/src/math/isunordered.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> #define isunordered(__x, __y) /* TODO */ @@ -6,3 +8,6 @@ STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/j0.c b/src/math/j0.c index 37b8cd11..f41f18b6 100644 --- a/src/math/j0.c +++ b/src/math/j0.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> double j0(double x) @@ -9,3 +11,6 @@ double j0(double x) XOPEN(4) LINK(m) */ + + +#endif diff --git a/src/math/j1.c b/src/math/j1.c index 2e64089b..b414e63c 100644 --- a/src/math/j1.c +++ b/src/math/j1.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> double j1(double x) @@ -9,3 +11,6 @@ double j1(double x) XOPEN(4) LINK(m) */ + + +#endif diff --git a/src/math/jn.c b/src/math/jn.c index b6bfb644..b151f02b 100644 --- a/src/math/jn.c +++ b/src/math/jn.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> double jn(int n, double x) @@ -9,3 +11,6 @@ double jn(int n, double x) XOPEN(4) LINK(m) */ + + +#endif diff --git a/src/math/ldexp.c b/src/math/ldexp.c index c56fe405..f5605cdb 100644 --- a/src/math/ldexp.c +++ b/src/math/ldexp.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "ldexp.c" #include <errno.h> #include <math.h> @@ -37,3 +39,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/lgamma.c b/src/math/lgamma.c index d536c814..df2367ae 100644 --- a/src/math/lgamma.c +++ b/src/math/lgamma.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "lgamma.c" #include "_tgmath.h" #include <math.h> @@ -28,3 +30,6 @@ STDC(199901) XOPEN(4) LINK(m) */ + + +#endif diff --git a/src/math/llrint.c b/src/math/llrint.c index 9ec492d4..168ef5df 100644 --- a/src/math/llrint.c +++ b/src/math/llrint.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "llrint.c" #include "_tgmath.h" #include <math.h> @@ -25,3 +27,6 @@ long long int TGFN(llrint)(TYPE x) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/llround.c b/src/math/llround.c index 1025df15..589ad2c8 100644 --- a/src/math/llround.c +++ b/src/math/llround.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "llround.c" #include "_tgmath.h" #include <math.h> @@ -11,3 +13,6 @@ long long int TGFN(llround)(TYPE x) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/log.c b/src/math/log.c index 75564f55..8ec97e17 100644 --- a/src/math/log.c +++ b/src/math/log.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "log.c" #include <errno.h> #include <math.h> @@ -43,3 +45,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/log10.c b/src/math/log10.c index 122f2c0d..90f10b64 100644 --- a/src/math/log10.c +++ b/src/math/log10.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "log10.c" #include <errno.h> #include <math.h> @@ -43,3 +45,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/log1p.c b/src/math/log1p.c index 101e5186..5de637b7 100644 --- a/src/math/log1p.c +++ b/src/math/log1p.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "log1p.c" #include "_tgmath.h" #include <math.h> @@ -29,3 +31,6 @@ STDC(199901) XOPEN(400) LINK(m) */ + + +#endif diff --git a/src/math/log2.c b/src/math/log2.c index 78929e0a..c339d3df 100644 --- a/src/math/log2.c +++ b/src/math/log2.c @@ -1,3 +1,5 @@ +#if 0 + #define TGSOURCE "log2.c" #include "_tgmath.h" #include <math.h> @@ -27,3 +29,6 @@ TYPE TGFN(log2)(TYPE x) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/logb.c b/src/math/logb.c index bf596df6..eb939211 100644 --- a/src/math/logb.c +++ b/src/math/logb.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "logb.c" #include "_tgmath.h" #include <math.h> @@ -19,3 +21,6 @@ STDC(199901) XOPEN(400) LINK(m) */ + + +#endif diff --git a/src/math/lrint.c b/src/math/lrint.c index a92e146e..f760c04e 100644 --- a/src/math/lrint.c +++ b/src/math/lrint.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "lrint.c" #include "_tgmath.h" #include <math.h> @@ -25,3 +27,6 @@ long int TGFN(lrint)(TYPE x) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/lround.c b/src/math/lround.c index d24f7738..c690679b 100644 --- a/src/math/lround.c +++ b/src/math/lround.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "lround.c" #include "_tgmath.h" #include <math.h> @@ -11,3 +13,6 @@ long int TGFN(lround)(TYPE x) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/modf.c b/src/math/modf.c index a9331317..c39ba054 100644 --- a/src/math/modf.c +++ b/src/math/modf.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "modf.c" #include <errno.h> #include <math.h> @@ -35,3 +37,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/nan.c b/src/math/nan.c index 93a0d442..d56c268f 100644 --- a/src/math/nan.c +++ b/src/math/nan.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "nan.c" #include "_tgmath.h" #include <math.h> @@ -23,3 +25,6 @@ TYPE TGFN(nan)(const char *tagp) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/nearbyint.c b/src/math/nearbyint.c index ac9417db..29a7a2c2 100644 --- a/src/math/nearbyint.c +++ b/src/math/nearbyint.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "nearbyint.c" #include "_tgmath.h" #include <math.h> @@ -17,3 +19,6 @@ TYPE TGFN(nearbyint)(TYPE x) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/nextafter.c b/src/math/nextafter.c index a91fa4b5..16a8bcb0 100644 --- a/src/math/nextafter.c +++ b/src/math/nextafter.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "nextafter.c" #include "_tgmath.h" #include <math.h> @@ -12,3 +14,6 @@ STDC(199901) XOPEN(400) LINK(m) */ + + +#endif diff --git a/src/math/nexttoward.c b/src/math/nexttoward.c index 2d8bc59f..3ca38bfd 100644 --- a/src/math/nexttoward.c +++ b/src/math/nexttoward.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "nexttoward.c" #include "_tgmath.h" #include <math.h> @@ -11,3 +13,6 @@ TYPE TGFN(nexttoward)(TYPE x, TYPE y) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/pow.c b/src/math/pow.c index 6486bc6e..e5e927c9 100644 --- a/src/math/pow.c +++ b/src/math/pow.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "pow.c" #include <errno.h> #include <math.h> @@ -116,3 +118,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/remainder.c b/src/math/remainder.c index c4c360ca..1f8942d0 100644 --- a/src/math/remainder.c +++ b/src/math/remainder.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> #define TGSOURCE "remainder.c" #include "_tgmath.h" @@ -11,3 +13,6 @@ XOPEN(400) POSIX(200112) LINK(m) */ + + +#endif diff --git a/src/math/remquo.c b/src/math/remquo.c index 7a117ba7..1a1d852c 100644 --- a/src/math/remquo.c +++ b/src/math/remquo.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "remquo.c" #include "_tgmath.h" #include <math.h> @@ -12,3 +14,6 @@ TYPE TGFN(remquo)(TYPE x, TYPE y, int *quo) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/rint.c b/src/math/rint.c index a97c4709..c594897c 100644 --- a/src/math/rint.c +++ b/src/math/rint.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "rint.c" #include "_tgmath.h" #include <math.h> @@ -18,3 +20,6 @@ STDC(199901) XOPEN(400) LINK(m) */ + + +#endif diff --git a/src/math/round.c b/src/math/round.c index 48260dd2..8801a032 100644 --- a/src/math/round.c +++ b/src/math/round.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "round.c" #include "_tgmath.h" #include <math.h> @@ -34,3 +36,6 @@ TYPE TGFN(round)(TYPE x) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/scalb.c b/src/math/scalb.c index ab49c533..5a884a14 100644 --- a/src/math/scalb.c +++ b/src/math/scalb.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> double scalb(double x, double n) @@ -8,3 +10,6 @@ double scalb(double x, double n) XOPEN(400) LINK(m) */ + + +#endif diff --git a/src/math/scalbln.c b/src/math/scalbln.c index d59c3502..ae2dac19 100644 --- a/src/math/scalbln.c +++ b/src/math/scalbln.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "scalbln.c" #include "_tgmath.h" #include <math.h> @@ -21,3 +23,6 @@ The scalbn and scalbln functions return x × FLT_RADIX n . STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/scalbn.c b/src/math/scalbn.c index f01843ce..520fe495 100644 --- a/src/math/scalbn.c +++ b/src/math/scalbn.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "scalbn.c" #include "_tgmath.h" #include <math.h> @@ -21,3 +23,6 @@ TYPE TGFN(scalbn)(TYPE x, int n) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/signgam.c b/src/math/signgam.c index 9da63e1a..919f3adf 100644 --- a/src/math/signgam.c +++ b/src/math/signgam.c @@ -1,6 +1,11 @@ +#if 0 + #include <math.h> int signgam; /* XOPEN(4) LINK(m) */ + + +#endif diff --git a/src/math/sin.c b/src/math/sin.c index 5cb8ef73..effec5e1 100644 --- a/src/math/sin.c +++ b/src/math/sin.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "sin.c" #include <errno.h> #include <math.h> @@ -54,3 +56,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/sinh.c b/src/math/sinh.c index a39c0bbd..aa2b1ca6 100644 --- a/src/math/sinh.c +++ b/src/math/sinh.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "sinh.c" #include <errno.h> #include <math.h> @@ -32,3 +34,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/sqrt.c b/src/math/sqrt.c index e415bd65..62346e16 100644 --- a/src/math/sqrt.c +++ b/src/math/sqrt.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "sqrt.c" #include <errno.h> #include <math.h> @@ -31,3 +33,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/tan.c b/src/math/tan.c index 3fc58fed..dc12e98a 100644 --- a/src/math/tan.c +++ b/src/math/tan.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "tan.c" #include <errno.h> #include <math.h> @@ -32,3 +34,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/tanh.c b/src/math/tanh.c index 817cac35..7a00c59c 100644 --- a/src/math/tanh.c +++ b/src/math/tanh.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "tanh.c" #include <errno.h> #include <math.h> @@ -32,3 +34,6 @@ IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) STDC(1) */ + + +#endif diff --git a/src/math/tgamma.c b/src/math/tgamma.c index 547dd9bc..af5f38f4 100644 --- a/src/math/tgamma.c +++ b/src/math/tgamma.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "tgamma.c" #include "_tgmath.h" #include <math.h> @@ -29,3 +31,6 @@ TYPE TGFN(tgamma)(TYPE x) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/trunc.c b/src/math/trunc.c index 4ee27109..fa2a9c5d 100644 --- a/src/math/trunc.c +++ b/src/math/trunc.c @@ -1,3 +1,5 @@ +#if 0 + # define TGSOURCE "trunc.c" #include "_tgmath.h" #include <math.h> @@ -17,3 +19,6 @@ TYPE TGFN(trunc)(TYPE x) STDC(199901) LINK(m) */ + + +#endif diff --git a/src/math/y0.c b/src/math/y0.c index 6e30f9a8..ad85af18 100644 --- a/src/math/y0.c +++ b/src/math/y0.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> double y0(double x) @@ -9,3 +11,6 @@ double y0(double x) XOPEN(4) LINK(m) */ + + +#endif diff --git a/src/math/y1.c b/src/math/y1.c index 4323c8c8..9fefc2b5 100644 --- a/src/math/y1.c +++ b/src/math/y1.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> double y1(double x) @@ -9,3 +11,6 @@ double y1(double x) XOPEN(4) LINK(m) */ + + +#endif diff --git a/src/math/yn.c b/src/math/yn.c index 921dca38..2a39b015 100644 --- a/src/math/yn.c +++ b/src/math/yn.c @@ -1,3 +1,5 @@ +#if 0 + #include <math.h> double yn(int n, double x) @@ -9,3 +11,6 @@ double yn(int n, double x) XOPEN(4) LINK(m) */ + + +#endif diff --git a/src/monetary/strfmon.c b/src/monetary/strfmon.c index b66074d2..829d8ffc 100644 --- a/src/monetary/strfmon.c +++ b/src/monetary/strfmon.c @@ -1,3 +1,5 @@ +#if 0 + #include <monetary.h> #include <ctype.h> #include <locale.h> @@ -144,3 +146,6 @@ ssize_t strfmon(char * restrict s, size_t maxsize, const char * restrict format, XOPEN(4) POSIX(200809) */ + + +#endif diff --git a/src/mqueue/mq_close.c b/src/mqueue/mq_close.c index 4831b829..03a6f074 100644 --- a/src/mqueue/mq_close.c +++ b/src/mqueue/mq_close.c @@ -1,3 +1,5 @@ +#if 0 + #include <mqueue.h> int mq_close(mqd_t mqdes) @@ -9,3 +11,6 @@ int mq_close(mqd_t mqdes) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/mqueue/mq_getattr.c b/src/mqueue/mq_getattr.c index 0ff4b292..1908b862 100644 --- a/src/mqueue/mq_getattr.c +++ b/src/mqueue/mq_getattr.c @@ -1,3 +1,5 @@ +#if 0 + #include <mqueue.h> int mq_getattr(mqd_t mqdes, struct mq_attr * mqstat) @@ -9,3 +11,6 @@ int mq_getattr(mqd_t mqdes, struct mq_attr * mqstat) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/mqueue/mq_notify.c b/src/mqueue/mq_notify.c index 779112e7..985aa5dc 100644 --- a/src/mqueue/mq_notify.c +++ b/src/mqueue/mq_notify.c @@ -1,3 +1,5 @@ +#if 0 + #include <mqueue.h> int mq_notify(mqd_t mqdes, const struct sigevent * notification) @@ -9,3 +11,6 @@ int mq_notify(mqd_t mqdes, const struct sigevent * notification) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/mqueue/mq_open.c b/src/mqueue/mq_open.c index 4e364ac5..f9414b56 100644 --- a/src/mqueue/mq_open.c +++ b/src/mqueue/mq_open.c @@ -1,3 +1,5 @@ +#if 0 + #include <mqueue.h> mqd_t mq_open(const char * name, int oflag, ...) @@ -9,3 +11,6 @@ mqd_t mq_open(const char * name, int oflag, ...) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/mqueue/mq_receive.c b/src/mqueue/mq_receive.c index c5ea5e97..eaf9d2f0 100644 --- a/src/mqueue/mq_receive.c +++ b/src/mqueue/mq_receive.c @@ -1,3 +1,5 @@ +#if 0 + #include <mqueue.h> ssize_t mq_receive(mqd_t mqdes, char * msg_ptr, size_t msg_len, unsigned * msg_prio) @@ -9,3 +11,6 @@ ssize_t mq_receive(mqd_t mqdes, char * msg_ptr, size_t msg_len, unsigned * msg_p POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/mqueue/mq_send.c b/src/mqueue/mq_send.c index 4f78af7d..7e03dd49 100644 --- a/src/mqueue/mq_send.c +++ b/src/mqueue/mq_send.c @@ -1,3 +1,5 @@ +#if 0 + #include <mqueue.h> int mq_send(mqd_t mqdes, const char * msg_ptr, size_t msg_len, unsigned msg_prio) @@ -9,3 +11,6 @@ int mq_send(mqd_t mqdes, const char * msg_ptr, size_t msg_len, unsigned msg_prio POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/mqueue/mq_setattr.c b/src/mqueue/mq_setattr.c index 4690c691..d27543c4 100644 --- a/src/mqueue/mq_setattr.c +++ b/src/mqueue/mq_setattr.c @@ -1,3 +1,5 @@ +#if 0 + #include <mqueue.h> int mq_setattr(mqd_t mqdes, const struct mq_attr * restrict mqstat, struct mq_attr * restrict omqstat) @@ -9,3 +11,6 @@ int mq_setattr(mqd_t mqdes, const struct mq_attr * restrict mqstat, struct mq_at POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/mqueue/mq_unlink.c b/src/mqueue/mq_unlink.c index e11c195d..1004fa14 100644 --- a/src/mqueue/mq_unlink.c +++ b/src/mqueue/mq_unlink.c @@ -1,3 +1,5 @@ +#if 0 + #include <mqueue.h> int mq_unlink(const char * name) @@ -9,3 +11,6 @@ int mq_unlink(const char * name) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/mqueue/struct_mq_attr.c b/src/mqueue/struct_mq_attr.c index 36a58d80..b79bff2f 100644 --- a/src/mqueue/struct_mq_attr.c +++ b/src/mqueue/struct_mq_attr.c @@ -1,3 +1,5 @@ +#if 0 + #include <mqueue.h> struct mq_attr { @@ -10,3 +12,6 @@ struct mq_attr { /* POSIX(199309) */ + + +#endif diff --git a/src/ndbm/datum.c b/src/ndbm/datum.c index 486b88d9..aa4f56d7 100644 --- a/src/ndbm/datum.c +++ b/src/ndbm/datum.c @@ -1,3 +1,5 @@ +#if 0 + #include <ndbm.h> typedef struct { @@ -8,3 +10,6 @@ typedef struct { /* XOPEN(400) */ + + +#endif diff --git a/src/ndbm/dbm_clearerr.c b/src/ndbm/dbm_clearerr.c index 093d7cf0..08508d65 100644 --- a/src/ndbm/dbm_clearerr.c +++ b/src/ndbm/dbm_clearerr.c @@ -1,3 +1,5 @@ +#if 0 + #include <ndbm.h> int dbm_clearerr(DBM * db) @@ -8,3 +10,6 @@ int dbm_clearerr(DBM * db) /* XOPEN(400) */ + + +#endif diff --git a/src/ndbm/dbm_close.c b/src/ndbm/dbm_close.c index 263a757f..da4930ff 100644 --- a/src/ndbm/dbm_close.c +++ b/src/ndbm/dbm_close.c @@ -1,3 +1,5 @@ +#if 0 + #include <ndbm.h> void dbm_close(DBM * db) @@ -7,3 +9,6 @@ void dbm_close(DBM * db) /* XOPEN(400) */ + + +#endif diff --git a/src/ndbm/dbm_delete.c b/src/ndbm/dbm_delete.c index cd64e9cc..c3b367f0 100644 --- a/src/ndbm/dbm_delete.c +++ b/src/ndbm/dbm_delete.c @@ -1,3 +1,5 @@ +#if 0 + #include <ndbm.h> int dbm_delete(DBM * db, datum key) @@ -8,3 +10,6 @@ int dbm_delete(DBM * db, datum key) /* XOPEN(400) */ + + +#endif diff --git a/src/ndbm/dbm_error.c b/src/ndbm/dbm_error.c index 0d408237..ff88e824 100644 --- a/src/ndbm/dbm_error.c +++ b/src/ndbm/dbm_error.c @@ -1,3 +1,5 @@ +#if 0 + #include <ndbm.h> int dbm_error(DBM * db) @@ -8,3 +10,6 @@ int dbm_error(DBM * db) /* XOPEN(400) */ + + +#endif diff --git a/src/ndbm/dbm_fetch.c b/src/ndbm/dbm_fetch.c index 8a56b38f..44d27837 100644 --- a/src/ndbm/dbm_fetch.c +++ b/src/ndbm/dbm_fetch.c @@ -1,3 +1,5 @@ +#if 0 + #include <ndbm.h> datum dbm_fetch(DBM * db, datum key) @@ -8,3 +10,6 @@ datum dbm_fetch(DBM * db, datum key) /* XOPEN(400) */ + + +#endif diff --git a/src/ndbm/dbm_firstkey.c b/src/ndbm/dbm_firstkey.c index 0e85c413..41cc76b5 100644 --- a/src/ndbm/dbm_firstkey.c +++ b/src/ndbm/dbm_firstkey.c @@ -1,3 +1,5 @@ +#if 0 + #include <ndbm.h> datum dbm_firstkey(DBM * db) @@ -7,3 +9,6 @@ datum dbm_firstkey(DBM * db) /* XOPEN(400) */ + + +#endif diff --git a/src/ndbm/dbm_nextkey.c b/src/ndbm/dbm_nextkey.c index 868b69a2..df0e65ec 100644 --- a/src/ndbm/dbm_nextkey.c +++ b/src/ndbm/dbm_nextkey.c @@ -1,3 +1,5 @@ +#if 0 + #include <ndbm.h> datum dbm_nextkey(DBM * db) @@ -7,3 +9,6 @@ datum dbm_nextkey(DBM * db) /* XOPEN(400) */ + + +#endif diff --git a/src/ndbm/dbm_open.c b/src/ndbm/dbm_open.c index 148dd871..7152ccd5 100644 --- a/src/ndbm/dbm_open.c +++ b/src/ndbm/dbm_open.c @@ -1,3 +1,5 @@ +#if 0 + #include <ndbm.h> DBM *dbm_open(const char * file, int open_flags, mode_t file_mode) @@ -8,3 +10,6 @@ DBM *dbm_open(const char * file, int open_flags, mode_t file_mode) /* XOPEN(400) */ + + +#endif diff --git a/src/ndbm/dbm_store.c b/src/ndbm/dbm_store.c index 19a45a80..1e0d48b8 100644 --- a/src/ndbm/dbm_store.c +++ b/src/ndbm/dbm_store.c @@ -1,3 +1,5 @@ +#if 0 + #include <ndbm.h> int dbm_store(DBM * db, datum key, datum content, int store_mode) @@ -8,3 +10,6 @@ int dbm_store(DBM * db, datum key, datum content, int store_mode) /* XOPEN(400) */ + + +#endif diff --git a/src/nl_types/catclose.c b/src/nl_types/catclose.c index 180139d6..c6e22ffa 100644 --- a/src/nl_types/catclose.c +++ b/src/nl_types/catclose.c @@ -1,3 +1,5 @@ +#if 0 + #include <nl_types.h> int catclose(nl_catd catd) @@ -8,3 +10,6 @@ int catclose(nl_catd catd) /* XOPEN(4) */ + + +#endif diff --git a/src/nl_types/catgets.c b/src/nl_types/catgets.c index 9aebfea7..3401b696 100644 --- a/src/nl_types/catgets.c +++ b/src/nl_types/catgets.c @@ -1,3 +1,5 @@ +#if 0 + #include <nl_types.h> char * catgets(nl_catd catd, int set_id, int msg_id, const char * s) @@ -8,3 +10,6 @@ char * catgets(nl_catd catd, int set_id, int msg_id, const char * s) /* XOPEN(4) */ + + +#endif diff --git a/src/nl_types/catopen.c b/src/nl_types/catopen.c index 817b1075..0ff564b3 100644 --- a/src/nl_types/catopen.c +++ b/src/nl_types/catopen.c @@ -1,3 +1,5 @@ +#if 0 + #include <nl_types.h> nl_catd catopen(const char* name, int oflag) @@ -8,3 +10,6 @@ nl_catd catopen(const char* name, int oflag) /* XOPEN(4) */ + + +#endif diff --git a/src/nl_types/nl_catd.c b/src/nl_types/nl_catd.c index cb156d01..32066760 100644 --- a/src/nl_types/nl_catd.c +++ b/src/nl_types/nl_catd.c @@ -1,5 +1,10 @@ +#if 0 + #include <nl_types.h> typedef unsigned long int nl_catd; /* XOPEN(4) */ + + +#endif diff --git a/src/nl_types/nl_item.c b/src/nl_types/nl_item.c index 1c71e422..891547da 100644 --- a/src/nl_types/nl_item.c +++ b/src/nl_types/nl_item.c @@ -1,5 +1,10 @@ +#if 0 + #include <nl_types.h> typedef int nl_item; /* XOPEN(4) */ + + +#endif diff --git a/src/poll/poll.c b/src/poll/poll.c index 7813cf37..134e881d 100644 --- a/src/poll/poll.c +++ b/src/poll/poll.c @@ -1,3 +1,5 @@ +#if 0 + #include <poll.h> int poll(struct pollfd fds[], nfds_t nfds, int timeout) @@ -9,3 +11,6 @@ int poll(struct pollfd fds[], nfds_t nfds, int timeout) XOPEN(400) POSIX(200809) */ + + +#endif diff --git a/src/pwd/__pwd.c b/src/pwd/__pwd.c index c6fb7787..be407735 100644 --- a/src/pwd/__pwd.c +++ b/src/pwd/__pwd.c @@ -1,3 +1,5 @@ +#if 0 + #include "_pwd.h" #ifndef _XOPEN_SOURCE @@ -16,3 +18,6 @@ struct __pwd __pwd = /* POSIX(1) */ + + +#endif diff --git a/src/pwd/endpwent.c b/src/pwd/endpwent.c index bb22e1be..9241c01c 100644 --- a/src/pwd/endpwent.c +++ b/src/pwd/endpwent.c @@ -1,3 +1,5 @@ +#if 0 + #include <pwd.h> #include <stdio.h> #include "_pwd.h" @@ -13,3 +15,6 @@ void endpwent(void) /* XOPEN(400) */ + + +#endif diff --git a/src/pwd/getpwent.c b/src/pwd/getpwent.c index 9876fcd5..72e15109 100644 --- a/src/pwd/getpwent.c +++ b/src/pwd/getpwent.c @@ -1,3 +1,5 @@ +#if 0 + #if ((!defined _POSIX_C_SOURCE) || (_POSIX_C_SOURCE < 2)) #undef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 2 @@ -97,3 +99,6 @@ struct passwd * getpwent(void) /* XOPEN(400) */ + + +#endif diff --git a/src/pwd/getpwnam.c b/src/pwd/getpwnam.c index f880aedc..14ba3690 100644 --- a/src/pwd/getpwnam.c +++ b/src/pwd/getpwnam.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <pwd.h> #include <string.h> @@ -22,3 +24,6 @@ struct passwd * getpwnam(const char * name) /* POSIX(1) */ + + +#endif diff --git a/src/pwd/getpwuid.c b/src/pwd/getpwuid.c index 29982a2c..7c8eaadf 100644 --- a/src/pwd/getpwuid.c +++ b/src/pwd/getpwuid.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <pwd.h> #include "_pwd.h" @@ -21,3 +23,6 @@ struct passwd * getpwuid(uid_t uid) /* POSIX(1) */ + + +#endif diff --git a/src/pwd/setpwent.c b/src/pwd/setpwent.c index 93fecdf5..1b7a304b 100644 --- a/src/pwd/setpwent.c +++ b/src/pwd/setpwent.c @@ -1,3 +1,5 @@ +#if 0 + #include <pwd.h> #include <stdio.h> #include "_pwd.h" @@ -12,3 +14,6 @@ void setpwent(void) /* XOPEN(400) */ + + +#endif diff --git a/src/pwd/struct_passwd.c b/src/pwd/struct_passwd.c index d77dd7b7..71ae8ab6 100644 --- a/src/pwd/struct_passwd.c +++ b/src/pwd/struct_passwd.c @@ -1,3 +1,5 @@ +#if 0 + #include <pwd.h> struct passwd { @@ -11,3 +13,6 @@ struct passwd { /* POSIX(1) */ + + +#endif diff --git a/src/re_comp/re_comp.c b/src/re_comp/re_comp.c index 88d8fb97..b6b7e7d4 100644 --- a/src/re_comp/re_comp.c +++ b/src/re_comp/re_comp.c @@ -1,3 +1,5 @@ +#if 0 + #include <re_comp.h> char *re_comp(const char *string) @@ -8,3 +10,6 @@ char *re_comp(const char *string) /* XOPEN(400,600) */ + + +#endif diff --git a/src/re_comp/re_exec.c b/src/re_comp/re_exec.c index 0e3b89e9..92035952 100644 --- a/src/re_comp/re_exec.c +++ b/src/re_comp/re_exec.c @@ -1,3 +1,5 @@ +#if 0 + #include <re_comp.h> #define _XOPEN_LEGACY 500 @@ -10,3 +12,6 @@ int re_exec(const char *string) /* XOPEN(400,600) */ + + +#endif diff --git a/src/regex/regcomp.c b/src/regex/regcomp.c index f3d55c7d..ea7214d6 100644 --- a/src/regex/regcomp.c +++ b/src/regex/regcomp.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <regex.h> @@ -13,3 +15,6 @@ int regcomp(regex_t * restrict preg, const char * restrict pattern, int cflags) /* POSIX(2) */ + + +#endif diff --git a/src/regex/regerror.c b/src/regex/regerror.c index ede7a0f1..129c97df 100644 --- a/src/regex/regerror.c +++ b/src/regex/regerror.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <regex.h> @@ -14,3 +16,6 @@ size_t regerror(int errcode, const regex_t * restrict preg, char * restrict errb POSIX(2) */ + + +#endif diff --git a/src/regex/regexec.c b/src/regex/regexec.c index e3fedac7..fdfcc047 100644 --- a/src/regex/regexec.c +++ b/src/regex/regexec.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <regex.h> @@ -15,3 +17,6 @@ int regexec(const regex_t * restrict preg, const char * restrict string, size_t POSIX(2) */ + + +#endif diff --git a/src/regex/regfree.c b/src/regex/regfree.c index 5f59624a..572af6af 100644 --- a/src/regex/regfree.c +++ b/src/regex/regfree.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <regex.h> #include <stdlib.h> @@ -11,3 +13,6 @@ void regfree(regex_t * preg) POSIX(2) */ + + +#endif diff --git a/src/regexp/advance.c b/src/regexp/advance.c index cb18374a..c2ce2359 100644 --- a/src/regexp/advance.c +++ b/src/regexp/advance.c @@ -1,3 +1,5 @@ +#if 0 + #include <regexp.h> # define _XOPEN_LEGACY 500 @@ -10,3 +12,6 @@ int advance(const char *string, const char *expbuf) /* XOPEN(4,600) */ + + +#endif diff --git a/src/regexp/compile.c b/src/regexp/compile.c index a7511cb9..96a39470 100644 --- a/src/regexp/compile.c +++ b/src/regexp/compile.c @@ -1,3 +1,5 @@ +#if 0 + #include <regexp.h> # define _XOPEN_LEGACY 500 @@ -10,3 +12,6 @@ char *compile(char *instring, char *expbuf, const char *endbuf, int eof) /* XOPEN(4,600) */ + + +#endif diff --git a/src/regexp/loc1.c b/src/regexp/loc1.c index a827edbe..16061d27 100644 --- a/src/regexp/loc1.c +++ b/src/regexp/loc1.c @@ -1,3 +1,5 @@ +#if 0 + #include <regexp.h> char *loc1; @@ -5,3 +7,6 @@ char *loc1; /* XOPEN(4,600) */ + + +#endif diff --git a/src/regexp/loc2.c b/src/regexp/loc2.c index 682c213f..674e2606 100644 --- a/src/regexp/loc2.c +++ b/src/regexp/loc2.c @@ -1,5 +1,10 @@ +#if 0 + #include <regexp.h> char *loc2; /* XOPEN(4,600) */ + + +#endif diff --git a/src/regexp/locs.c b/src/regexp/locs.c index b0e7e195..9f06d927 100644 --- a/src/regexp/locs.c +++ b/src/regexp/locs.c @@ -1,5 +1,10 @@ +#if 0 + #include <regexp.h> char *locs; /* XOPEN(4,600) */ + + +#endif diff --git a/src/regexp/step.c b/src/regexp/step.c index 3a066600..2e255a47 100644 --- a/src/regexp/step.c +++ b/src/regexp/step.c @@ -1,3 +1,5 @@ +#if 0 + #include <regexp.h> #define _XOPEN_LEGACY 500 @@ -10,3 +12,6 @@ int step(const char *string, const char *expbuf) /* XOPEN(4,600) */ + + +#endif diff --git a/src/sched/sched_get_priority_max.c b/src/sched/sched_get_priority_max.c index 134cbb6c..658c0f62 100644 --- a/src/sched/sched_get_priority_max.c +++ b/src/sched/sched_get_priority_max.c @@ -1,3 +1,5 @@ +#if 0 + #include <sched.h> int sched_get_priority_max(int policy) @@ -9,3 +11,6 @@ int sched_get_priority_max(int policy) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/sched/sched_get_priority_min.c b/src/sched/sched_get_priority_min.c index 38033b8b..37a53afc 100644 --- a/src/sched/sched_get_priority_min.c +++ b/src/sched/sched_get_priority_min.c @@ -1,3 +1,5 @@ +#if 0 + #include <sched.h> int sched_get_priority_min(int policy) @@ -9,3 +11,6 @@ int sched_get_priority_min(int policy) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/sched/sched_getparam.c b/src/sched/sched_getparam.c index b3588713..f5c5e7f0 100644 --- a/src/sched/sched_getparam.c +++ b/src/sched/sched_getparam.c @@ -1,3 +1,5 @@ +#if 0 + #include <sched.h> int sched_getparam(pid_t pid, struct sched_param * param) @@ -9,3 +11,6 @@ int sched_getparam(pid_t pid, struct sched_param * param) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/sched/sched_getscheduler.c b/src/sched/sched_getscheduler.c index 81f26c14..a04d3efa 100644 --- a/src/sched/sched_getscheduler.c +++ b/src/sched/sched_getscheduler.c @@ -1,3 +1,5 @@ +#if 0 + #include <sched.h> int sched_getscheduler(pid_t pid) @@ -9,3 +11,6 @@ int sched_getscheduler(pid_t pid) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/sched/sched_rr_get_interval.c b/src/sched/sched_rr_get_interval.c index 2710adcd..0686279e 100644 --- a/src/sched/sched_rr_get_interval.c +++ b/src/sched/sched_rr_get_interval.c @@ -1,3 +1,5 @@ +#if 0 + #include <sched.h> int sched_rr_get_interval(pid_t pid, struct timespec * interval) @@ -9,3 +11,6 @@ int sched_rr_get_interval(pid_t pid, struct timespec * interval) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/sched/sched_setparam.c b/src/sched/sched_setparam.c index 3dfe578a..c757c7ce 100644 --- a/src/sched/sched_setparam.c +++ b/src/sched/sched_setparam.c @@ -1,3 +1,5 @@ +#if 0 + #include <sched.h> int sched_setparam(pid_t pid, const struct sched_param * param) @@ -9,3 +11,6 @@ int sched_setparam(pid_t pid, const struct sched_param * param) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/sched/sched_setscheduler.c b/src/sched/sched_setscheduler.c index 4e8365c4..d7055496 100644 --- a/src/sched/sched_setscheduler.c +++ b/src/sched/sched_setscheduler.c @@ -1,3 +1,5 @@ +#if 0 + #include <sched.h> int sched_setscheduler(pid_t pid, int policy, const struct sched_param * param) @@ -9,3 +11,6 @@ int sched_setscheduler(pid_t pid, int policy, const struct sched_param * param) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/sched/sched_yield.c b/src/sched/sched_yield.c index c9bf7661..561a48b9 100644 --- a/src/sched/sched_yield.c +++ b/src/sched/sched_yield.c @@ -1,3 +1,5 @@ +#if 0 + #include <sched.h> int sched_yield(void) @@ -9,3 +11,6 @@ int sched_yield(void) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/search/hcreate.c b/src/search/hcreate.c index bbde96e7..8317d32c 100644 --- a/src/search/hcreate.c +++ b/src/search/hcreate.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> int hcreate(size_t nel) @@ -8,3 +10,6 @@ int hcreate(size_t nel) /* XOPEN(4) */ + + +#endif diff --git a/src/search/hdestroy.c b/src/search/hdestroy.c index 4e1ad3d6..debf6113 100644 --- a/src/search/hdestroy.c +++ b/src/search/hdestroy.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void hdestroy(void) @@ -7,3 +9,6 @@ void hdestroy(void) /* XOPEN(4) */ + + +#endif diff --git a/src/search/hsearch.c b/src/search/hsearch.c index 8dcb3fcb..973d562e 100644 --- a/src/search/hsearch.c +++ b/src/search/hsearch.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> #include <stddef.h> @@ -9,3 +11,6 @@ ENTRY * hsearch(ENTRY item, ACTION action) /* XOPEN(4) */ + + +#endif diff --git a/src/search/insque.c b/src/search/insque.c index 7f9658c6..dd7ced89 100644 --- a/src/search/insque.c +++ b/src/search/insque.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void insque(void * element, void * pred) @@ -7,3 +9,6 @@ void insque(void * element, void * pred) /* XOPEN(400) */ + + +#endif diff --git a/src/search/lfind.c b/src/search/lfind.c index 3990f035..1ede5e29 100644 --- a/src/search/lfind.c +++ b/src/search/lfind.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void * lfind(const void * key, const void * base, size_t * nelp, size_t width, int (*compar) (const void *, const void *)) @@ -8,3 +10,6 @@ void * lfind(const void * key, const void * base, size_t * nelp, size_t width, i /* XOPEN(4) */ + + +#endif diff --git a/src/search/lsearch.c b/src/search/lsearch.c index 973ef0bb..846e4dbc 100644 --- a/src/search/lsearch.c +++ b/src/search/lsearch.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void * lsearch(const void * key, void * base, size_t * nelp, size_t width, int (*compar) (const void *, const void *)) @@ -8,3 +10,6 @@ void * lsearch(const void * key, void * base, size_t * nelp, size_t width, int ( /* XOPEN(4) */ + + +#endif diff --git a/src/search/remque.c b/src/search/remque.c index 155943f0..6f3be635 100644 --- a/src/search/remque.c +++ b/src/search/remque.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void remque(void * element) @@ -7,3 +9,6 @@ void remque(void * element) /* XOPEN(400) */ + + +#endif diff --git a/src/search/tdelete.c b/src/search/tdelete.c index 2c58f6a0..9d36d553 100644 --- a/src/search/tdelete.c +++ b/src/search/tdelete.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void *tdelete(const void * restrict key, void ** restrict rootp, int (*compar) (const void *, const void *)) @@ -8,3 +10,6 @@ void *tdelete(const void * restrict key, void ** restrict rootp, int (*compar) ( /* XOPEN(4) */ + + +#endif diff --git a/src/search/tfind.c b/src/search/tfind.c index 1b5a6334..b11e4441 100644 --- a/src/search/tfind.c +++ b/src/search/tfind.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void *tfind(const void * key, void * const * rootp, int (*compar) (const void *, const void *)) @@ -8,3 +10,6 @@ void *tfind(const void * key, void * const * rootp, int (*compar) (const void *, /* XOPEN(4) */ + + +#endif diff --git a/src/search/tsearch.c b/src/search/tsearch.c index c09c80eb..cb2f8891 100644 --- a/src/search/tsearch.c +++ b/src/search/tsearch.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void *tsearch(const void * key, void ** rootp, int (*compar) (const void *, const void *)) @@ -8,3 +10,6 @@ void *tsearch(const void * key, void ** rootp, int (*compar) (const void *, cons /* XOPEN(4) */ + + +#endif diff --git a/src/search/twalk.c b/src/search/twalk.c index 0ee60989..3e6802cd 100644 --- a/src/search/twalk.c +++ b/src/search/twalk.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void twalk(const void * root, void (*action) (const void *, VISIT, int)) @@ -7,3 +9,6 @@ void twalk(const void * root, void (*action) (const void *, VISIT, int)) /* XOPEN(4) */ + + +#endif diff --git a/src/semaphore/sem_close.c b/src/semaphore/sem_close.c index 3f0e6c36..33344a39 100644 --- a/src/semaphore/sem_close.c +++ b/src/semaphore/sem_close.c @@ -1,3 +1,5 @@ +#if 0 + #include <semaphore.h> int sem_close(sem_t *sem) @@ -9,3 +11,6 @@ int sem_close(sem_t *sem) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/semaphore/sem_destroy.c b/src/semaphore/sem_destroy.c index c0f0e33c..dd3a7633 100644 --- a/src/semaphore/sem_destroy.c +++ b/src/semaphore/sem_destroy.c @@ -1,3 +1,5 @@ +#if 0 + #include <semaphore.h> int sem_destroy(sem_t * sem) @@ -9,3 +11,6 @@ int sem_destroy(sem_t * sem) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/semaphore/sem_getvalue.c b/src/semaphore/sem_getvalue.c index 1b50bc93..25c8b15a 100644 --- a/src/semaphore/sem_getvalue.c +++ b/src/semaphore/sem_getvalue.c @@ -1,3 +1,5 @@ +#if 0 + #include <semaphore.h> int sem_getvalue(sem_t * restrict sem, int * restrict sval) @@ -9,3 +11,6 @@ int sem_getvalue(sem_t * restrict sem, int * restrict sval) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/semaphore/sem_init.c b/src/semaphore/sem_init.c index 64ddc10f..cd6b14f4 100644 --- a/src/semaphore/sem_init.c +++ b/src/semaphore/sem_init.c @@ -1,3 +1,5 @@ +#if 0 + #include <semaphore.h> int sem_init(sem_t * sem, int pshared, unsigned value) @@ -9,3 +11,6 @@ int sem_init(sem_t * sem, int pshared, unsigned value) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/semaphore/sem_open.c b/src/semaphore/sem_open.c index 04ba0144..20a6492d 100644 --- a/src/semaphore/sem_open.c +++ b/src/semaphore/sem_open.c @@ -1,3 +1,5 @@ +#if 0 + #include <semaphore.h> sem_t * sem_open(const char * name, int oflag, ...) @@ -9,3 +11,6 @@ sem_t * sem_open(const char * name, int oflag, ...) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/semaphore/sem_post.c b/src/semaphore/sem_post.c index de43da36..d7a3b596 100644 --- a/src/semaphore/sem_post.c +++ b/src/semaphore/sem_post.c @@ -1,3 +1,5 @@ +#if 0 + #include <semaphore.h> int sem_post(sem_t * sem) @@ -9,3 +11,6 @@ int sem_post(sem_t * sem) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/semaphore/sem_trywait.c b/src/semaphore/sem_trywait.c index 02696b9d..b47d3766 100644 --- a/src/semaphore/sem_trywait.c +++ b/src/semaphore/sem_trywait.c @@ -1,3 +1,5 @@ +#if 0 + #include <semaphore.h> int sem_trywait(sem_t * sem) @@ -9,3 +11,6 @@ int sem_trywait(sem_t * sem) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/semaphore/sem_unlink.c b/src/semaphore/sem_unlink.c index 0be65021..d9eb13fa 100644 --- a/src/semaphore/sem_unlink.c +++ b/src/semaphore/sem_unlink.c @@ -1,3 +1,5 @@ +#if 0 + #include <semaphore.h> int sem_unlink(const char * name) @@ -9,3 +11,6 @@ int sem_unlink(const char * name) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/semaphore/sem_wait.c b/src/semaphore/sem_wait.c index 8bf012a4..622590ee 100644 --- a/src/semaphore/sem_wait.c +++ b/src/semaphore/sem_wait.c @@ -1,3 +1,5 @@ +#if 0 + #include <semaphore.h> int sem_wait(sem_t * sem) @@ -9,3 +11,6 @@ int sem_wait(sem_t * sem) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/setjmp/_longjmp.c b/src/setjmp/_longjmp.c index f8c46b32..8378c9ac 100644 --- a/src/setjmp/_longjmp.c +++ b/src/setjmp/_longjmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <setjmp.h> /** restore calling environment **/ @@ -29,3 +31,6 @@ UNDEFINED(THIS() is called from a nested signal handler) XOPEN(400) XOBSOLETE(700, FUNCTION(siglongjmp)) */ + + +#endif diff --git a/src/setjmp/_setjmp.c b/src/setjmp/_setjmp.c index a2537915..53bc1a2c 100644 --- a/src/setjmp/_setjmp.c +++ b/src/setjmp/_setjmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <setjmp.h> /** save program state **/ @@ -26,3 +28,6 @@ UNDEFINED(A program defines an external identifier named LITERAL(setjmp)) XOPEN(400) XOBSOLETE(700, FUNCTION(siglongjmp)) */ + + +#endif diff --git a/src/setjmp/longjmp.c b/src/setjmp/longjmp.c index 57819ddb..fc4305ca 100644 --- a/src/setjmp/longjmp.c +++ b/src/setjmp/longjmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <setjmp.h> /** restore calling environment **/ @@ -33,3 +35,6 @@ UNDEFINED(The function containing the previous call to FUNCTION(setjmp) is no lo UNDEFINED(THIS() is called from a nested signal handler) STDC(1) */ + + +#endif diff --git a/src/setjmp/setjmp.c b/src/setjmp/setjmp.c index 15eacb2c..c5cad278 100644 --- a/src/setjmp/setjmp.c +++ b/src/setjmp/setjmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <setjmp.h> #include <string.h> @@ -31,3 +33,6 @@ UNDEFINED(A program defines an external identifier named LITERAL(setjmp)) STDC(1) */ + + +#endif diff --git a/src/setjmp/sigjmp_buf.c b/src/setjmp/sigjmp_buf.c index 945448cd..a79c9f9b 100644 --- a/src/setjmp/sigjmp_buf.c +++ b/src/setjmp/sigjmp_buf.c @@ -1,3 +1,5 @@ +#if 0 + #include <setjmp.h> /** program environment with signal mask **/ @@ -13,3 +15,6 @@ environment, including the signal mask. TYPEDEF(an array type) POSIX(1) */ + + +#endif diff --git a/src/setjmp/siglongjmp.c b/src/setjmp/siglongjmp.c index 87146941..8147c036 100644 --- a/src/setjmp/siglongjmp.c +++ b/src/setjmp/siglongjmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <setjmp.h> #include <sys/types.h> #include <signal.h> @@ -33,3 +35,6 @@ UNDEFINED(THIS() is called from a nested signal handler) POSIX(1) */ + + +#endif diff --git a/src/setjmp/sigsetjmp.c b/src/setjmp/sigsetjmp.c index c66617aa..2d78eed5 100644 --- a/src/setjmp/sigsetjmp.c +++ b/src/setjmp/sigsetjmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <setjmp.h> #include <sys/types.h> #include <signal.h> @@ -31,3 +33,6 @@ UNDEFINED(A program defines an external identifier named LITERAL(setjmp)) POSIX(1) */ + + +#endif diff --git a/src/signal/bsd_signal.c b/src/signal/bsd_signal.c index 148029c0..7f87b4e1 100644 --- a/src/signal/bsd_signal.c +++ b/src/signal/bsd_signal.c @@ -1,3 +1,5 @@ +#if 0 + #include <signal.h> void (*bsd_signal(int sig, void (*func)(int)))(int) @@ -19,3 +21,6 @@ void (*bsd_signal(int sig, void (*func)(int)))(int) /* XOPEN(400,700) */ + + +#endif diff --git a/src/signal/kill.c b/src/signal/kill.c index 55b7a90a..3be1b3ad 100644 --- a/src/signal/kill.c +++ b/src/signal/kill.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <signal.h> #include "_syscall.h" @@ -9,3 +11,6 @@ int kill(pid_t pid, int sig) /* POSIX(1) */ + + +#endif diff --git a/src/signal/killpg.c b/src/signal/killpg.c index 4f56544e..fdfee360 100644 --- a/src/signal/killpg.c +++ b/src/signal/killpg.c @@ -1,3 +1,5 @@ +#if 0 + #include <signal.h> int killpg(pid_t pgrp, int sig) @@ -8,3 +10,6 @@ int killpg(pid_t pgrp, int sig) /* XOPEN(400) */ + + +#endif diff --git a/src/signal/raise.c b/src/signal/raise.c index 08e58747..f7db89b3 100644 --- a/src/signal/raise.c +++ b/src/signal/raise.c @@ -1,3 +1,5 @@ +#if 0 + #ifndef _POSIX_SOURCE #define _POSIX_SOURCE #define POSIX_FORCED @@ -35,3 +37,6 @@ sends the signal ARGUMENT(sig) to the current program. /* STDC(1) */ + + +#endif diff --git a/src/signal/sigaction.c b/src/signal/sigaction.c index 156868c7..054f3958 100644 --- a/src/signal/sigaction.c +++ b/src/signal/sigaction.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <sys/types.h> #include <signal.h> @@ -47,3 +49,6 @@ int sigaction(int sig, const struct sigaction * restrict act, struct sigaction * /* POSIX(1) */ + + +#endif diff --git a/src/signal/sigaddset.c b/src/signal/sigaddset.c index 994b2c4b..217b91fe 100644 --- a/src/signal/sigaddset.c +++ b/src/signal/sigaddset.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <signal.h> #include <limits.h> @@ -14,3 +16,6 @@ int sigaddset(sigset_t * set, int signo) /* POSIX(1) */ + + +#endif diff --git a/src/signal/sigaltstack.c b/src/signal/sigaltstack.c index 068d9e38..73ab2980 100644 --- a/src/signal/sigaltstack.c +++ b/src/signal/sigaltstack.c @@ -1,3 +1,5 @@ +#if 0 + #include <signal.h> int sigaltstack(const stack_t * restrict ss, stack_t * restrict oss) @@ -8,3 +10,6 @@ int sigaltstack(const stack_t * restrict ss, stack_t * restrict oss) /* XOPEN(400) */ + + +#endif diff --git a/src/signal/sigdelset.c b/src/signal/sigdelset.c index 1a15a29d..91db033e 100644 --- a/src/signal/sigdelset.c +++ b/src/signal/sigdelset.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <signal.h> #include <limits.h> @@ -14,3 +16,6 @@ int sigdelset(sigset_t * set, int signo) /* POSIX(1) */ + + +#endif diff --git a/src/signal/sigemptyset.c b/src/signal/sigemptyset.c index dae7911a..860668e7 100644 --- a/src/signal/sigemptyset.c +++ b/src/signal/sigemptyset.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <signal.h> #include <string.h> @@ -10,3 +12,6 @@ int sigemptyset(sigset_t * set) /* POSIX(1) */ + + +#endif diff --git a/src/signal/sigfillset.c b/src/signal/sigfillset.c index 4c7939eb..45acfd61 100644 --- a/src/signal/sigfillset.c +++ b/src/signal/sigfillset.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <signal.h> #include <string.h> @@ -11,3 +13,6 @@ int sigfillset(sigset_t * set) /* POSIX(1) */ + + +#endif diff --git a/src/signal/sighold.c b/src/signal/sighold.c index 1c5b0c20..037761f4 100644 --- a/src/signal/sighold.c +++ b/src/signal/sighold.c @@ -1,3 +1,5 @@ +#if 0 + #include <signal.h> int sighold(int sig) @@ -8,3 +10,6 @@ int sighold(int sig) /* XOPEN(400) */ + + +#endif diff --git a/src/signal/sigignore.c b/src/signal/sigignore.c index f59b83c4..aef76f50 100644 --- a/src/signal/sigignore.c +++ b/src/signal/sigignore.c @@ -1,3 +1,5 @@ +#if 0 + #include <signal.h> int sigignore(int sig) @@ -11,3 +13,6 @@ int sigignore(int sig) /* XOPEN(400) */ + + +#endif diff --git a/src/signal/siginterrupt.c b/src/signal/siginterrupt.c index ea325ca6..d3fc9ddd 100644 --- a/src/signal/siginterrupt.c +++ b/src/signal/siginterrupt.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <signal.h> @@ -18,3 +20,6 @@ int siginterrupt(int sig, int flag) /* XOPEN(400) */ + + +#endif diff --git a/src/signal/sigismember.c b/src/signal/sigismember.c index af482232..b6347ddd 100644 --- a/src/signal/sigismember.c +++ b/src/signal/sigismember.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <signal.h> #include <limits.h> @@ -16,3 +18,6 @@ int sigismember(const sigset_t * set, int signo) /* POSIX(1) */ + + +#endif diff --git a/src/signal/sigmask.c b/src/signal/sigmask.c index 030e51ab..616222ca 100644 --- a/src/signal/sigmask.c +++ b/src/signal/sigmask.c @@ -1,3 +1,5 @@ +#if 0 + #include <signal.h> int sigmask(int signum) @@ -7,3 +9,6 @@ int sigmask(int signum) /* XOPEN(400,500) */ + + +#endif diff --git a/src/signal/signal.c b/src/signal/signal.c index 8a794a7e..57260f58 100644 --- a/src/signal/signal.c +++ b/src/signal/signal.c @@ -1,3 +1,5 @@ +#if 0 + #ifndef _POSIX_SOURCE #define _POSIX_SOURCE #define POSIX_FORCED @@ -54,3 +56,6 @@ IMPLEMENTATION(Whether signal blocking is performed when a signal occurs) IMPLEMENTATION(Other signals corresponding to computation exceptions for which signal handlers must not return) STDC(1) */ + + +#endif diff --git a/src/signal/sigpause.c b/src/signal/sigpause.c index 43ad7489..0cfdf3fb 100644 --- a/src/signal/sigpause.c +++ b/src/signal/sigpause.c @@ -1,3 +1,5 @@ +#if 0 + #include <signal.h> int sigpause(int sig) @@ -8,3 +10,6 @@ int sigpause(int sig) /* XOPEN(400) */ + + +#endif diff --git a/src/signal/sigpending.c b/src/signal/sigpending.c index 3ab5d01d..163d9519 100644 --- a/src/signal/sigpending.c +++ b/src/signal/sigpending.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <signal.h> #include "_syscall.h" @@ -9,3 +11,6 @@ int sigpending(sigset_t * set) /* POSIX(1) */ + + +#endif diff --git a/src/signal/sigprocmask.c b/src/signal/sigprocmask.c index 63bc58b2..0df41963 100644 --- a/src/signal/sigprocmask.c +++ b/src/signal/sigprocmask.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <signal.h> #include "_syscall.h" @@ -9,3 +11,6 @@ int sigprocmask(int how, const sigset_t * restrict set, sigset_t * restrict oset /* POSIX(1) */ + + +#endif diff --git a/src/signal/sigqueue.c b/src/signal/sigqueue.c index 6f4b6864..75fb44dc 100644 --- a/src/signal/sigqueue.c +++ b/src/signal/sigqueue.c @@ -1,3 +1,5 @@ +#if 0 + #include <signal.h> int sigqueue(pid_t pid, int signo, const union sigval value) @@ -8,3 +10,6 @@ int sigqueue(pid_t pid, int signo, const union sigval value) /* POSIX(199309) */ + + +#endif diff --git a/src/signal/sigrelse.c b/src/signal/sigrelse.c index c9c76852..94418751 100644 --- a/src/signal/sigrelse.c +++ b/src/signal/sigrelse.c @@ -1,3 +1,5 @@ +#if 0 + #include <signal.h> int sigrelse(int sig) @@ -8,3 +10,6 @@ int sigrelse(int sig) /* XOPEN(400) */ + + +#endif diff --git a/src/signal/sigset.c b/src/signal/sigset.c index 88dfecc3..72987408 100644 --- a/src/signal/sigset.c +++ b/src/signal/sigset.c @@ -1,3 +1,5 @@ +#if 0 + #include <signal.h> void (*sigset(int sig, void (*disp)(int)))(int) @@ -8,3 +10,6 @@ void (*sigset(int sig, void (*disp)(int)))(int) /* XOPEN(400) */ + + +#endif diff --git a/src/signal/sigstack.c b/src/signal/sigstack.c index c7ed9c5c..d9ebb92c 100644 --- a/src/signal/sigstack.c +++ b/src/signal/sigstack.c @@ -1,3 +1,5 @@ +#if 0 + #include <signal.h> int sigstack(struct sigstack *ss, struct sigstack *oss) @@ -8,3 +10,6 @@ int sigstack(struct sigstack *ss, struct sigstack *oss) /* XOPEN(400,600) */ + + +#endif diff --git a/src/signal/sigsuspend.c b/src/signal/sigsuspend.c index fb164d0f..4ebe0346 100644 --- a/src/signal/sigsuspend.c +++ b/src/signal/sigsuspend.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <signal.h> #include "_syscall.h" @@ -9,3 +11,6 @@ int sigsuspend(const sigset_t * sigmask) /* POSIX(1) */ + + +#endif diff --git a/src/signal/sigtimedwait.c b/src/signal/sigtimedwait.c index 74443089..574f850d 100644 --- a/src/signal/sigtimedwait.c +++ b/src/signal/sigtimedwait.c @@ -1,3 +1,5 @@ +#if 0 + #include <signal.h> int sigtimedwait(const sigset_t * restrict set, siginfo_t * restrict info, const struct timespec * restrict timeout) @@ -8,3 +10,6 @@ int sigtimedwait(const sigset_t * restrict set, siginfo_t * restrict info, const /* POSIX(199309) */ + + +#endif diff --git a/src/signal/sigwaitinfo.c b/src/signal/sigwaitinfo.c index 6af01e10..de0976cf 100644 --- a/src/signal/sigwaitinfo.c +++ b/src/signal/sigwaitinfo.c @@ -1,3 +1,5 @@ +#if 0 + #include <signal.h> int sigwaitinfo(const sigset_t * restrict set, siginfo_t * restrict info) @@ -8,3 +10,6 @@ int sigwaitinfo(const sigset_t * restrict set, siginfo_t * restrict info) /* POSIX(199309) */ + + +#endif diff --git a/src/stdatomic/ATOMIC_BOOL_LOCK_FREE.c b/src/stdatomic/ATOMIC_BOOL_LOCK_FREE.c index b5e024f0..966534b2 100644 --- a/src/stdatomic/ATOMIC_BOOL_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_BOOL_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_BOOL_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_CHAR16_T_LOCK_FREE.c b/src/stdatomic/ATOMIC_CHAR16_T_LOCK_FREE.c index 3cccfddb..7e651e83 100644 --- a/src/stdatomic/ATOMIC_CHAR16_T_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_CHAR16_T_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_CHAR_16_T_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_CHAR32_T_LOCK_FREE.c b/src/stdatomic/ATOMIC_CHAR32_T_LOCK_FREE.c index 36194c3e..8b338429 100644 --- a/src/stdatomic/ATOMIC_CHAR32_T_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_CHAR32_T_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_CHAR32_T_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_CHAR_LOCK_FREE.c b/src/stdatomic/ATOMIC_CHAR_LOCK_FREE.c index 05a512c0..6edf6eac 100644 --- a/src/stdatomic/ATOMIC_CHAR_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_CHAR_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_CHAR_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_INT_LOCK_FREE.c b/src/stdatomic/ATOMIC_INT_LOCK_FREE.c index 84a83ca2..2dc2c968 100644 --- a/src/stdatomic/ATOMIC_INT_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_INT_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_INT_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_LLONG_LOCK_FREE.c b/src/stdatomic/ATOMIC_LLONG_LOCK_FREE.c index 5f85e906..f5d61400 100644 --- a/src/stdatomic/ATOMIC_LLONG_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_LLONG_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_LLONG_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_LONG_LOCK_FREE.c b/src/stdatomic/ATOMIC_LONG_LOCK_FREE.c index 5d75eb30..b9493e80 100644 --- a/src/stdatomic/ATOMIC_LONG_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_LONG_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_LONG_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_POINTER_LOCK_FREE.c b/src/stdatomic/ATOMIC_POINTER_LOCK_FREE.c index 0d4dddd1..20cbd5df 100644 --- a/src/stdatomic/ATOMIC_POINTER_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_POINTER_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_POINTER_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_SHORT_LOCK_FREE.c b/src/stdatomic/ATOMIC_SHORT_LOCK_FREE.c index 30ef612d..b86db863 100644 --- a/src/stdatomic/ATOMIC_SHORT_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_SHORT_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_SHORT_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_WCHAR_T_LOCK_FREE.c b/src/stdatomic/ATOMIC_WCHAR_T_LOCK_FREE.c index ed616a2d..8b0e3e3b 100644 --- a/src/stdatomic/ATOMIC_WCHAR_T_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_WCHAR_T_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_WCHAR_T_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/atomic_bool.c b/src/stdatomic/atomic_bool.c index a8c73d6b..60c86680 100644 --- a/src/stdatomic/atomic_bool.c +++ b/src/stdatomic/atomic_bool.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic _Bool atomic_bool; + + +#endif diff --git a/src/stdatomic/atomic_char.c b/src/stdatomic/atomic_char.c index e7e2b659..36b0ca0c 100644 --- a/src/stdatomic/atomic_char.c +++ b/src/stdatomic/atomic_char.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic char atomic_char; + + +#endif diff --git a/src/stdatomic/atomic_char16_t.c b/src/stdatomic/atomic_char16_t.c index e160909f..2d6db114 100644 --- a/src/stdatomic/atomic_char16_t.c +++ b/src/stdatomic/atomic_char16_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic char16_t atomic_char16_t; + + +#endif diff --git a/src/stdatomic/atomic_char32_t.c b/src/stdatomic/atomic_char32_t.c index 188e7de8..bc414da4 100644 --- a/src/stdatomic/atomic_char32_t.c +++ b/src/stdatomic/atomic_char32_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic char32_t atomic_char32_t; + + +#endif diff --git a/src/stdatomic/atomic_compare_exchange_strong.c b/src/stdatomic/atomic_compare_exchange_strong.c index 43877395..ea53fee0 100644 --- a/src/stdatomic/atomic_compare_exchange_strong.c +++ b/src/stdatomic/atomic_compare_exchange_strong.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> #include <stdbool.h> @@ -11,3 +13,6 @@ _Bool atomic_compare_exchange_strong(volatile __TYPE *object, __BASE *expected, memcpy(expected, object, sizeof(*object)); return false; } + + +#endif diff --git a/src/stdatomic/atomic_compare_exchange_strong_explicit.c b/src/stdatomic/atomic_compare_exchange_strong_explicit.c index 6e63cd13..cd973f6c 100644 --- a/src/stdatomic/atomic_compare_exchange_strong_explicit.c +++ b/src/stdatomic/atomic_compare_exchange_strong_explicit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> #include <stdbool.h> @@ -21,3 +23,6 @@ _Bool atomic_compare_exchange_strong_explicit(volatile __TYPE *object, __BASE *e memcpy(expected, object, sizeof(*object)); return false; } + + +#endif diff --git a/src/stdatomic/atomic_compare_exchange_weak.c b/src/stdatomic/atomic_compare_exchange_weak.c index e123304e..1068a0a2 100644 --- a/src/stdatomic/atomic_compare_exchange_weak.c +++ b/src/stdatomic/atomic_compare_exchange_weak.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> #include <stdbool.h> @@ -11,3 +13,6 @@ _Bool atomic_compare_exchange_weak(volatile __TYPE *object, __BASE *expected, __ memcpy(expected, object, sizeof(*object)); return false; } + + +#endif diff --git a/src/stdatomic/atomic_compare_exchange_weak_explicit.c b/src/stdatomic/atomic_compare_exchange_weak_explicit.c index 74a4836c..7b3fc71b 100644 --- a/src/stdatomic/atomic_compare_exchange_weak_explicit.c +++ b/src/stdatomic/atomic_compare_exchange_weak_explicit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> #include <stdbool.h> @@ -21,3 +23,6 @@ _Bool atomic_compare_exchange_weak_explicit(volatile __TYPE *object, __BASE *exp memcpy(expected, object, sizeof(*object)); return false; } + + +#endif diff --git a/src/stdatomic/atomic_exchange.c b/src/stdatomic/atomic_exchange.c index f5124d18..ccc36265 100644 --- a/src/stdatomic/atomic_exchange.c +++ b/src/stdatomic/atomic_exchange.c @@ -1,6 +1,11 @@ +#if 0 + #include <stdatomic.h> __BASE atomic_exchange(volatile __TYPE *object, __BASE desired) { return *object = desired; } + + +#endif diff --git a/src/stdatomic/atomic_exchange_explicit.c b/src/stdatomic/atomic_exchange_explicit.c index 392f5ee9..956a6bef 100644 --- a/src/stdatomic/atomic_exchange_explicit.c +++ b/src/stdatomic/atomic_exchange_explicit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> __BASE atomic_exchange_explicit(volatile __TYPE *object, __BASE desired, memory_order order) @@ -9,3 +11,6 @@ __BASE atomic_exchange_explicit(volatile __TYPE *object, __BASE desired, memory_ return *object = desired; } + + +#endif diff --git a/src/stdatomic/atomic_fetch_add.c b/src/stdatomic/atomic_fetch_add.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_add.c +++ b/src/stdatomic/atomic_fetch_add.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_add_explicit.c b/src/stdatomic/atomic_fetch_add_explicit.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_add_explicit.c +++ b/src/stdatomic/atomic_fetch_add_explicit.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_and.c b/src/stdatomic/atomic_fetch_and.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_and.c +++ b/src/stdatomic/atomic_fetch_and.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_and_explicit.c b/src/stdatomic/atomic_fetch_and_explicit.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_and_explicit.c +++ b/src/stdatomic/atomic_fetch_and_explicit.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_or.c b/src/stdatomic/atomic_fetch_or.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_or.c +++ b/src/stdatomic/atomic_fetch_or.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_or_explicit.c b/src/stdatomic/atomic_fetch_or_explicit.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_or_explicit.c +++ b/src/stdatomic/atomic_fetch_or_explicit.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_sub.c b/src/stdatomic/atomic_fetch_sub.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_sub.c +++ b/src/stdatomic/atomic_fetch_sub.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_sub_explicit.c b/src/stdatomic/atomic_fetch_sub_explicit.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_sub_explicit.c +++ b/src/stdatomic/atomic_fetch_sub_explicit.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_xor.c b/src/stdatomic/atomic_fetch_xor.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_xor.c +++ b/src/stdatomic/atomic_fetch_xor.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_xor_explicit.c b/src/stdatomic/atomic_fetch_xor_explicit.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_xor_explicit.c +++ b/src/stdatomic/atomic_fetch_xor_explicit.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_flag.c b/src/stdatomic/atomic_flag.c index 9643dd30..a48580a1 100644 --- a/src/stdatomic/atomic_flag.c +++ b/src/stdatomic/atomic_flag.c @@ -1,2 +1,7 @@ +#if 0 + typedef _Atomic _Bool atomic_flag; + + +#endif diff --git a/src/stdatomic/atomic_flag_clear.c b/src/stdatomic/atomic_flag_clear.c index 6d0de3a9..b59b4334 100644 --- a/src/stdatomic/atomic_flag_clear.c +++ b/src/stdatomic/atomic_flag_clear.c @@ -1,6 +1,11 @@ +#if 0 + #include <stdatomic.h> void atomic_flag_clear(volatile atomic_flag *object) { *object = 0; } + + +#endif diff --git a/src/stdatomic/atomic_flag_clear_explicit.c b/src/stdatomic/atomic_flag_clear_explicit.c index ab24c1d5..966487e7 100644 --- a/src/stdatomic/atomic_flag_clear_explicit.c +++ b/src/stdatomic/atomic_flag_clear_explicit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> void atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order) @@ -5,3 +7,6 @@ void atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order (void)order; *object = 0; } + + +#endif diff --git a/src/stdatomic/atomic_flag_test_and_set.c b/src/stdatomic/atomic_flag_test_and_set.c index 9cc641cc..345e280f 100644 --- a/src/stdatomic/atomic_flag_test_and_set.c +++ b/src/stdatomic/atomic_flag_test_and_set.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> _Bool atomic_flag_test_and_set(volatile atomic_flag *object) @@ -6,3 +8,6 @@ _Bool atomic_flag_test_and_set(volatile atomic_flag *object) *object == 1; return r; } + + +#endif diff --git a/src/stdatomic/atomic_flag_test_and_set_explicit.c b/src/stdatomic/atomic_flag_test_and_set_explicit.c index f5672471..4ff4335a 100644 --- a/src/stdatomic/atomic_flag_test_and_set_explicit.c +++ b/src/stdatomic/atomic_flag_test_and_set_explicit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> _Bool atomic_flag_test_and_set_explicit(volatile atomic_flag *object, memory_order order) @@ -7,3 +9,6 @@ _Bool atomic_flag_test_and_set_explicit(volatile atomic_flag *object, memory_ord *object = 1; return r; } + + +#endif diff --git a/src/stdatomic/atomic_init.c b/src/stdatomic/atomic_init.c index 13b08963..a2de9aa1 100644 --- a/src/stdatomic/atomic_init.c +++ b/src/stdatomic/atomic_init.c @@ -1,6 +1,11 @@ +#if 0 + #include <stdatomic.h> void atomic_init(volatile __TYPE *obj, __BASE value) { *obj = ATOMIC_VAR_INIT(value); } + + +#endif diff --git a/src/stdatomic/atomic_int.c b/src/stdatomic/atomic_int.c index ad2d8f19..31508356 100644 --- a/src/stdatomic/atomic_int.c +++ b/src/stdatomic/atomic_int.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int atomic_int; + + +#endif diff --git a/src/stdatomic/atomic_int_fast16_t.c b/src/stdatomic/atomic_int_fast16_t.c index 927cc76c..4f88eb3d 100644 --- a/src/stdatomic/atomic_int_fast16_t.c +++ b/src/stdatomic/atomic_int_fast16_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_fast16_t atomic_int_fast16_t; + + +#endif diff --git a/src/stdatomic/atomic_int_fast32_t.c b/src/stdatomic/atomic_int_fast32_t.c index c5165f45..bf0d3d91 100644 --- a/src/stdatomic/atomic_int_fast32_t.c +++ b/src/stdatomic/atomic_int_fast32_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_fast32_t atomic_int_fast32_t; + + +#endif diff --git a/src/stdatomic/atomic_int_fast64_t.c b/src/stdatomic/atomic_int_fast64_t.c index d426618c..d54a128c 100644 --- a/src/stdatomic/atomic_int_fast64_t.c +++ b/src/stdatomic/atomic_int_fast64_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_fast64_t atomic_int_fast64_t; + + +#endif diff --git a/src/stdatomic/atomic_int_fast8_t.c b/src/stdatomic/atomic_int_fast8_t.c index 6da67f5c..f25e7dda 100644 --- a/src/stdatomic/atomic_int_fast8_t.c +++ b/src/stdatomic/atomic_int_fast8_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_fast8_t atomic_int_fast8_t; + + +#endif diff --git a/src/stdatomic/atomic_int_least16_t.c b/src/stdatomic/atomic_int_least16_t.c index 9f530eee..8302d0d0 100644 --- a/src/stdatomic/atomic_int_least16_t.c +++ b/src/stdatomic/atomic_int_least16_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_least16_t atomic_int_least16_t; + + +#endif diff --git a/src/stdatomic/atomic_int_least32_t.c b/src/stdatomic/atomic_int_least32_t.c index 9a4ccbc3..84fe5837 100644 --- a/src/stdatomic/atomic_int_least32_t.c +++ b/src/stdatomic/atomic_int_least32_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_least32_t atomic_int_least32_t; + + +#endif diff --git a/src/stdatomic/atomic_int_least64_t.c b/src/stdatomic/atomic_int_least64_t.c index c537446f..37a81c7a 100644 --- a/src/stdatomic/atomic_int_least64_t.c +++ b/src/stdatomic/atomic_int_least64_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_least64_t atomic_int_least64_t; + + +#endif diff --git a/src/stdatomic/atomic_int_least8_t.c b/src/stdatomic/atomic_int_least8_t.c index 98d976e3..551adecc 100644 --- a/src/stdatomic/atomic_int_least8_t.c +++ b/src/stdatomic/atomic_int_least8_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_least8_t atomic_int_least8_t; + + +#endif diff --git a/src/stdatomic/atomic_intmax_t.c b/src/stdatomic/atomic_intmax_t.c index ecf22444..329a8577 100644 --- a/src/stdatomic/atomic_intmax_t.c +++ b/src/stdatomic/atomic_intmax_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic intmax_t atomic_intmax_t; + + +#endif diff --git a/src/stdatomic/atomic_intptr_t.c b/src/stdatomic/atomic_intptr_t.c index 86ad6731..9c611640 100644 --- a/src/stdatomic/atomic_intptr_t.c +++ b/src/stdatomic/atomic_intptr_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic intptr_t atomic_intptr_t; + + +#endif diff --git a/src/stdatomic/atomic_is_lock_free.c b/src/stdatomic/atomic_is_lock_free.c index 9fffe7a1..9058cbf8 100644 --- a/src/stdatomic/atomic_is_lock_free.c +++ b/src/stdatomic/atomic_is_lock_free.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> _Bool atomic_is_lock_free(const volatile __TYPE *obj) @@ -5,3 +7,6 @@ _Bool atomic_is_lock_free(const volatile __TYPE *obj) (void)obj; return 1; } + + +#endif diff --git a/src/stdatomic/atomic_llong.c b/src/stdatomic/atomic_llong.c index af3fcf60..6c7eaf0f 100644 --- a/src/stdatomic/atomic_llong.c +++ b/src/stdatomic/atomic_llong.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic llong atomic_llong; + + +#endif diff --git a/src/stdatomic/atomic_load.c b/src/stdatomic/atomic_load.c index 7a181a2b..b42a0480 100644 --- a/src/stdatomic/atomic_load.c +++ b/src/stdatomic/atomic_load.c @@ -1,6 +1,11 @@ +#if 0 + #include <stdatomic.h> __BASE atomic_store(const volatile __TYPE *object) { return *object; } + + +#endif diff --git a/src/stdatomic/atomic_load_explicit.c b/src/stdatomic/atomic_load_explicit.c index f491407f..91646adf 100644 --- a/src/stdatomic/atomic_load_explicit.c +++ b/src/stdatomic/atomic_load_explicit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> __BASE atomic_load_explicit(const volatile __TYPE *object, memory_order order) @@ -15,3 +17,6 @@ __BASE atomic_load_explicit(const volatile __TYPE *object, memory_order order) return *object; } + + +#endif diff --git a/src/stdatomic/atomic_long.c b/src/stdatomic/atomic_long.c index b3237c17..36ed0a76 100644 --- a/src/stdatomic/atomic_long.c +++ b/src/stdatomic/atomic_long.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic long atomic_long; + + +#endif diff --git a/src/stdatomic/atomic_ptrdiff_t.c b/src/stdatomic/atomic_ptrdiff_t.c index e3a327c8..ae9bd452 100644 --- a/src/stdatomic/atomic_ptrdiff_t.c +++ b/src/stdatomic/atomic_ptrdiff_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic ptrdiff_t atomic_ptrdiff_t; + + +#endif diff --git a/src/stdatomic/atomic_schar.c b/src/stdatomic/atomic_schar.c index 9c21171a..d4f86772 100644 --- a/src/stdatomic/atomic_schar.c +++ b/src/stdatomic/atomic_schar.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic signed char atomic_schar; + + +#endif diff --git a/src/stdatomic/atomic_short.c b/src/stdatomic/atomic_short.c index c07aa89c..570bd805 100644 --- a/src/stdatomic/atomic_short.c +++ b/src/stdatomic/atomic_short.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic short atomic_short; + + +#endif diff --git a/src/stdatomic/atomic_signal_fence.c b/src/stdatomic/atomic_signal_fence.c index 0ceec034..acee1c05 100644 --- a/src/stdatomic/atomic_signal_fence.c +++ b/src/stdatomic/atomic_signal_fence.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> void atomic_signal_fence(memory_order order) @@ -24,3 +26,6 @@ void atomic_signal_fence(memory_order order) break; } } + + +#endif diff --git a/src/stdatomic/atomic_size_t.c b/src/stdatomic/atomic_size_t.c index 9bd95806..22878df0 100644 --- a/src/stdatomic/atomic_size_t.c +++ b/src/stdatomic/atomic_size_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic size_t atomic_size_t; + + +#endif diff --git a/src/stdatomic/atomic_store.c b/src/stdatomic/atomic_store.c index 333ff9a7..19bb9e6e 100644 --- a/src/stdatomic/atomic_store.c +++ b/src/stdatomic/atomic_store.c @@ -1,6 +1,11 @@ +#if 0 + #include <stdatomic.h> void atomic_store(volatile __TYPE *object, __BASE desired) { *object = desired; } + + +#endif diff --git a/src/stdatomic/atomic_store_explicit.c b/src/stdatomic/atomic_store_explicit.c index 55c8f5bd..a57f473d 100644 --- a/src/stdatomic/atomic_store_explicit.c +++ b/src/stdatomic/atomic_store_explicit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> void atomic_store_explicit(volatile __TYPE *object, __BASE desired, memory_order order) @@ -15,3 +17,6 @@ void atomic_store_explicit(volatile __TYPE *object, __BASE desired, memory_order *object = desired; } + + +#endif diff --git a/src/stdatomic/atomic_thread_fence.c b/src/stdatomic/atomic_thread_fence.c index ee26a260..6b70d91e 100644 --- a/src/stdatomic/atomic_thread_fence.c +++ b/src/stdatomic/atomic_thread_fence.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> void atomic_thread_fence(memory_order order) @@ -24,3 +26,6 @@ void atomic_thread_fence(memory_order order) break; } } + + +#endif diff --git a/src/stdatomic/atomic_uchar.c b/src/stdatomic/atomic_uchar.c index 4b6c8b21..18d3a674 100644 --- a/src/stdatomic/atomic_uchar.c +++ b/src/stdatomic/atomic_uchar.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic unsigned char atomic_uchar; + + +#endif diff --git a/src/stdatomic/atomic_uint.c b/src/stdatomic/atomic_uint.c index e661eb56..fa26228f 100644 --- a/src/stdatomic/atomic_uint.c +++ b/src/stdatomic/atomic_uint.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic unsigned int atomic_uint; + + +#endif diff --git a/src/stdatomic/atomic_uint_fast16_t.c b/src/stdatomic/atomic_uint_fast16_t.c index a0b53e73..6a6e2e2b 100644 --- a/src/stdatomic/atomic_uint_fast16_t.c +++ b/src/stdatomic/atomic_uint_fast16_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_fast16_t atomic_uint_fast16_t; + + +#endif diff --git a/src/stdatomic/atomic_uint_fast32_t.c b/src/stdatomic/atomic_uint_fast32_t.c index f7f3038c..2ca3b742 100644 --- a/src/stdatomic/atomic_uint_fast32_t.c +++ b/src/stdatomic/atomic_uint_fast32_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_fast32_t atomic_uint_fast32_t; + + +#endif diff --git a/src/stdatomic/atomic_uint_fast64_t.c b/src/stdatomic/atomic_uint_fast64_t.c index 91a22f44..5fefe1c0 100644 --- a/src/stdatomic/atomic_uint_fast64_t.c +++ b/src/stdatomic/atomic_uint_fast64_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_fast64_t atomic_uint_fast64_t; + + +#endif diff --git a/src/stdatomic/atomic_uint_fast8_t.c b/src/stdatomic/atomic_uint_fast8_t.c index 6db80184..f9d97f86 100644 --- a/src/stdatomic/atomic_uint_fast8_t.c +++ b/src/stdatomic/atomic_uint_fast8_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_fast8_t atomic_uint_fast8_t; + + +#endif diff --git a/src/stdatomic/atomic_uint_least16_t.c b/src/stdatomic/atomic_uint_least16_t.c index 0e22b86e..f4ad7591 100644 --- a/src/stdatomic/atomic_uint_least16_t.c +++ b/src/stdatomic/atomic_uint_least16_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_least16_t atomic_uint_least16_t; + + +#endif diff --git a/src/stdatomic/atomic_uint_least32_t.c b/src/stdatomic/atomic_uint_least32_t.c index c251e131..61d95348 100644 --- a/src/stdatomic/atomic_uint_least32_t.c +++ b/src/stdatomic/atomic_uint_least32_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_least32_t atomic_uint_least32_t; + + +#endif diff --git a/src/stdatomic/atomic_uint_least64_t.c b/src/stdatomic/atomic_uint_least64_t.c index 59acb723..aa8d3c26 100644 --- a/src/stdatomic/atomic_uint_least64_t.c +++ b/src/stdatomic/atomic_uint_least64_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_least64_t atomic_uint_least64_t; + + +#endif diff --git a/src/stdatomic/atomic_uint_least8_t.c b/src/stdatomic/atomic_uint_least8_t.c index f804b542..469780d2 100644 --- a/src/stdatomic/atomic_uint_least8_t.c +++ b/src/stdatomic/atomic_uint_least8_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_least8_t atomic_uint_least8_t; + + +#endif diff --git a/src/stdatomic/atomic_uintmax_t.c b/src/stdatomic/atomic_uintmax_t.c index 213c79d5..8bfb8441 100644 --- a/src/stdatomic/atomic_uintmax_t.c +++ b/src/stdatomic/atomic_uintmax_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uintmax_t atomic_uintmax_t; + + +#endif diff --git a/src/stdatomic/atomic_uintptr_t.c b/src/stdatomic/atomic_uintptr_t.c index 6d2c6e55..c51e8b85 100644 --- a/src/stdatomic/atomic_uintptr_t.c +++ b/src/stdatomic/atomic_uintptr_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uintptr_t atomic_uintptr_t; + + +#endif diff --git a/src/stdatomic/atomic_ullong.c b/src/stdatomic/atomic_ullong.c index 8fc02060..20603e0b 100644 --- a/src/stdatomic/atomic_ullong.c +++ b/src/stdatomic/atomic_ullong.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic unsigned long long atomic_ullong; + + +#endif diff --git a/src/stdatomic/atomic_ulong.c b/src/stdatomic/atomic_ulong.c index 286192e3..e971d4bb 100644 --- a/src/stdatomic/atomic_ulong.c +++ b/src/stdatomic/atomic_ulong.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic unsigned long atomic_ulong; + + +#endif diff --git a/src/stdatomic/atomic_ushort.c b/src/stdatomic/atomic_ushort.c index dfa11c32..680680ff 100644 --- a/src/stdatomic/atomic_ushort.c +++ b/src/stdatomic/atomic_ushort.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic unsigned short atomic_ushort; + + +#endif diff --git a/src/stdatomic/atomic_wchar_t.c b/src/stdatomic/atomic_wchar_t.c index 25ddef12..abd42f48 100644 --- a/src/stdatomic/atomic_wchar_t.c +++ b/src/stdatomic/atomic_wchar_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic wchar_t atomic_wchar_t; + + +#endif diff --git a/src/stdio/__printf.c b/src/stdio/__printf.c index 0429d5bf..c918cac5 100644 --- a/src/stdio/__printf.c +++ b/src/stdio/__printf.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <stdio.h> #include <stddef.h> @@ -342,3 +344,6 @@ int (__printf)(struct io_options *opt, const char * format, va_list arg) return nout; } + + +#endif diff --git a/src/stdio/__scanf.c b/src/stdio/__scanf.c index b5700c8e..7451ad4a 100644 --- a/src/stdio/__scanf.c +++ b/src/stdio/__scanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -9,3 +11,6 @@ int __scanf(struct io_options *opt, const char * format, va_list arg) (void)arg; return 0; } + + +#endif diff --git a/src/stdio/__stderr.c b/src/stdio/__stderr.c index 6d1c2529..681398aa 100644 --- a/src/stdio/__stderr.c +++ b/src/stdio/__stderr.c @@ -1,2 +1,7 @@ +#if 0 + #include <stdio.h> FILE *__stderr; + + +#endif diff --git a/src/stdio/__stdin.c b/src/stdio/__stdin.c index 8121ced2..08b6fd5d 100644 --- a/src/stdio/__stdin.c +++ b/src/stdio/__stdin.c @@ -1,2 +1,7 @@ +#if 0 + #include <stdio.h> FILE *__stdin; + + +#endif diff --git a/src/stdio/__stdio.c b/src/stdio/__stdio.c index 116c6ab9..26f57b61 100644 --- a/src/stdio/__stdio.c +++ b/src/stdio/__stdio.c @@ -1,3 +1,8 @@ +#if 0 + #include "_stdio.h" struct __stdio __stdio = { 0 }; + + +#endif diff --git a/src/stdio/__stdout.c b/src/stdio/__stdout.c index c1ff9f76..8cf18d91 100644 --- a/src/stdio/__stdout.c +++ b/src/stdio/__stdout.c @@ -1,2 +1,7 @@ +#if 0 + #include <stdio.h> FILE *__stdout; + + +#endif diff --git a/src/stdio/clearerr.c b/src/stdio/clearerr.c index 44510744..a3196a71 100644 --- a/src/stdio/clearerr.c +++ b/src/stdio/clearerr.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -20,3 +22,6 @@ clears the error and end-of-file indicators of ARGUMENT(stream). /* STDC(1) */ + + +#endif diff --git a/src/stdio/fclose.c b/src/stdio/fclose.c index bf40b5f8..8649c718 100644 --- a/src/stdio/fclose.c +++ b/src/stdio/fclose.c @@ -1,3 +1,5 @@ +#if 0 + #ifndef _POSIX_SOURCE #define _POSIX_SOURCE #define POSIX_FORCED @@ -56,3 +58,6 @@ buffer was automatically allocated, it is freed. /* STDC(1) */ + + +#endif diff --git a/src/stdio/fdopen.c b/src/stdio/fdopen.c index 9f6f8d72..12bb1a10 100644 --- a/src/stdio/fdopen.c +++ b/src/stdio/fdopen.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> FILE * fdopen(int fildes, const char * mode) @@ -8,3 +10,6 @@ FILE * fdopen(int fildes, const char * mode) /* POSIX(1) */ + + +#endif diff --git a/src/stdio/feof.c b/src/stdio/feof.c index 94531fcf..8e00489c 100644 --- a/src/stdio/feof.c +++ b/src/stdio/feof.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_assert.h" #include "_stdio.h" @@ -29,3 +31,6 @@ tests for the end-of-file indicator of ARGUMENT(stream). /* STDC(1) */ + + +#endif diff --git a/src/stdio/ferror.c b/src/stdio/ferror.c index b5a4a085..fb6adf0d 100644 --- a/src/stdio/ferror.c +++ b/src/stdio/ferror.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_assert.h" #include "_stdio.h" @@ -21,3 +23,6 @@ tests the error indicator of ARGUMENT(stream). /* STDC(1) */ + + +#endif diff --git a/src/stdio/fflush.c b/src/stdio/fflush.c index 1a237984..8adb0a10 100644 --- a/src/stdio/fflush.c +++ b/src/stdio/fflush.c @@ -1,3 +1,5 @@ +#if 0 + #ifndef _POSIX_SOURCE #define _POSIX_SOURCE #define POSIX_FORCED @@ -61,3 +63,6 @@ UNDEFINED(ARGUMENT(stream) is not an output stream) UNDEFINED(ARGUMENT(stream) is an update stream in which the most recent operation was input) STDC(1) */ + + +#endif diff --git a/src/stdio/fgetc.c b/src/stdio/fgetc.c index a49a3ce8..b3dde1bd 100644 --- a/src/stdio/fgetc.c +++ b/src/stdio/fgetc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -32,3 +34,6 @@ of ARGUMENT(stream) is advanced. /* STDC(1) */ + + +#endif diff --git a/src/stdio/fgetpos.c b/src/stdio/fgetpos.c index 04241e79..b0b25161 100644 --- a/src/stdio/fgetpos.c +++ b/src/stdio/fgetpos.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -20,3 +22,6 @@ for ARGUMENT(stream) into the TYPEDEF(fpos_t) at ARGUMENT(pos). UNSPECIFIED(The information stored in TYPEDEF(fpos_t)) STDC(1) */ + + +#endif diff --git a/src/stdio/fgets.c b/src/stdio/fgets.c index 558c2fdc..8606fdea 100644 --- a/src/stdio/fgets.c +++ b/src/stdio/fgets.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -53,3 +55,6 @@ If an error occurs, the contents of ARGUMENT(s) are indeterminite. /* STDC(1) */ + + +#endif diff --git a/src/stdio/fileno.c b/src/stdio/fileno.c index 19b89fc8..7a6cbd7c 100644 --- a/src/stdio/fileno.c +++ b/src/stdio/fileno.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" #include "_assert.h" @@ -10,3 +12,6 @@ int fileno(FILE * stream) /* POSIX(1) */ + + +#endif diff --git a/src/stdio/flockfile.c b/src/stdio/flockfile.c index d8d5776b..8b3efee5 100644 --- a/src/stdio/flockfile.c +++ b/src/stdio/flockfile.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> void flockfile(FILE * file) @@ -7,3 +9,6 @@ void flockfile(FILE * file) /* POSIX(199506) */ + + +#endif diff --git a/src/stdio/fopen.c b/src/stdio/fopen.c index 4f85f864..d20015ca 100644 --- a/src/stdio/fopen.c +++ b/src/stdio/fopen.c @@ -1,3 +1,5 @@ +#if 0 + #include <errno.h> #include <stdio.h> #include <stdlib.h> @@ -63,3 +65,6 @@ The error and end-of-file indicators are cleared. /* STDC(1) */ + + +#endif diff --git a/src/stdio/fopen_s.c b/src/stdio/fopen_s.c index 904c3584..708a1fc2 100644 --- a/src/stdio/fopen_s.c +++ b/src/stdio/fopen_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "__stdio.h" #include <string.h> @@ -53,3 +55,6 @@ The error and end-of-file indicators are cleared. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/fprintf.c b/src/stdio/fprintf.c index 0e6509f8..668843e0 100644 --- a/src/stdio/fprintf.c +++ b/src/stdio/fprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -29,3 +31,6 @@ and the variadic arguments is the same as that for FUNCTION(printf). /* STDC(1) */ + + +#endif diff --git a/src/stdio/fprintf_s.c b/src/stdio/fprintf_s.c index 74995abc..1c50f26d 100644 --- a/src/stdio/fprintf_s.c +++ b/src/stdio/fprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> @@ -29,3 +31,6 @@ of arg(format) and the variadic arguments is the same as that for fn(printf). /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/fputc.c b/src/stdio/fputc.c index 4a634b77..b551541d 100644 --- a/src/stdio/fputc.c +++ b/src/stdio/fputc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -33,3 +35,6 @@ RETURN_SUCCESS(ARGUMENT(c)) RETURN_FAILURE(CONSTANT(EOF)) STDC(1) */ + + +#endif diff --git a/src/stdio/fputs.c b/src/stdio/fputs.c index 4f5cea8d..9d6a9c90 100644 --- a/src/stdio/fputs.c +++ b/src/stdio/fputs.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -28,3 +30,6 @@ the terminating CHAR(\0) character. /* STDC(1) */ + + +#endif diff --git a/src/stdio/fread.c b/src/stdio/fread.c index bf8c5fd2..b1b077dd 100644 --- a/src/stdio/fread.c +++ b/src/stdio/fread.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -39,3 +41,6 @@ The file position indicate is advanced by the number of bytes read. /* STDC(1) */ + + +#endif diff --git a/src/stdio/freopen.c b/src/stdio/freopen.c index bb3fe198..cee31692 100644 --- a/src/stdio/freopen.c +++ b/src/stdio/freopen.c @@ -1,3 +1,5 @@ +#if 0 + #ifndef _POSIX_SOURCE #define _POSIX_SOURCE #define POSIX_FORCED @@ -106,3 +108,6 @@ The error and end-of-file indicators are cleared. /* STDC(1) */ + + +#endif diff --git a/src/stdio/freopen_s.c b/src/stdio/freopen_s.c index d6fae14f..e49c7cf1 100644 --- a/src/stdio/freopen_s.c +++ b/src/stdio/freopen_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "__stdio.h" #include <fcntl.h> @@ -34,3 +36,6 @@ The error and end-of-file indicators are cleared. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/fscanf.c b/src/stdio/fscanf.c index 81279d46..17d0c038 100644 --- a/src/stdio/fscanf.c +++ b/src/stdio/fscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -29,3 +31,6 @@ the variadic arguments is the same as that for FUNCTION(scanf). /* STDC(1) */ + + +#endif diff --git a/src/stdio/fscanf_s.c b/src/stdio/fscanf_s.c index 28f292b3..77ca35d0 100644 --- a/src/stdio/fscanf_s.c +++ b/src/stdio/fscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> @@ -27,3 +29,6 @@ arg(format) at the variadic arguments is the same as that for fn(scanf). /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/fseek.c b/src/stdio/fseek.c index 42fb0d9f..fb40fa70 100644 --- a/src/stdio/fseek.c +++ b/src/stdio/fseek.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** set the file position indicator **/ @@ -32,3 +34,6 @@ UNDEFINED(Specifying CONSTANT(SEEK_END) for ARGUMENT(whence) on a binary file) UNDEFINED(Specifying a value for ARGUMENT(offset) other than 0 or a previous return value of FUNCTION(ftell) on a text file) STDC(1) */ + + +#endif diff --git a/src/stdio/fsetpos.c b/src/stdio/fsetpos.c index 33c055ea..f56aef48 100644 --- a/src/stdio/fsetpos.c +++ b/src/stdio/fsetpos.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** set the file position indicator **/ @@ -21,3 +23,6 @@ any characters pushed back with FUNCTION(ungetc). /* STDC(1) */ + + +#endif diff --git a/src/stdio/ftell.c b/src/stdio/ftell.c index f1fab68a..521af102 100644 --- a/src/stdio/ftell.c +++ b/src/stdio/ftell.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** get the file position indicator **/ @@ -23,3 +25,6 @@ For binary streams, the indicator is the current byte position. UNSPECIFIED(The meaning of the file position indicator for text streams) STDC(1) */ + + +#endif diff --git a/src/stdio/funlockfile.c b/src/stdio/funlockfile.c index b85f4842..76780b37 100644 --- a/src/stdio/funlockfile.c +++ b/src/stdio/funlockfile.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> void funlockfile(FILE * file) @@ -7,3 +9,6 @@ void funlockfile(FILE * file) /* POSIX(199506) */ + + +#endif diff --git a/src/stdio/fwrite.c b/src/stdio/fwrite.c index f7fe07f9..724e0c29 100644 --- a/src/stdio/fwrite.c +++ b/src/stdio/fwrite.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** write directly to a file stream **/ @@ -36,3 +38,6 @@ written. /* STDC(1) */ + + +#endif diff --git a/src/stdio/getc.c b/src/stdio/getc.c index f176ef5b..b4b8c854 100644 --- a/src/stdio/getc.c +++ b/src/stdio/getc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** read a character from a file stream **/ @@ -19,3 +21,6 @@ defined as a macro, it may evaluate ARGUMENT(stream) more than once. /* STDC(1) */ + + +#endif diff --git a/src/stdio/getc_unlocked.c b/src/stdio/getc_unlocked.c index 00228a65..038e2cf0 100644 --- a/src/stdio/getc_unlocked.c +++ b/src/stdio/getc_unlocked.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -28,3 +30,6 @@ int getc_unlocked(FILE * stream) /* POSIX(199506) */ + + +#endif diff --git a/src/stdio/getchar.c b/src/stdio/getchar.c index d09bbdfc..2d229847 100644 --- a/src/stdio/getchar.c +++ b/src/stdio/getchar.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** read a character from stdin **/ @@ -18,3 +20,6 @@ reads the next character from ARGUMENT(stdin). /* STDC(1) */ + + +#endif diff --git a/src/stdio/getchar_unlocked.c b/src/stdio/getchar_unlocked.c index adeeccbd..886d5016 100644 --- a/src/stdio/getchar_unlocked.c +++ b/src/stdio/getchar_unlocked.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> int getchar_unlocked(void) @@ -8,3 +10,6 @@ int getchar_unlocked(void) /* POSIX(199506) */ + + +#endif diff --git a/src/stdio/gets.c b/src/stdio/gets.c index 09f6ad3a..261417c7 100644 --- a/src/stdio/gets.c +++ b/src/stdio/gets.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <limits.h> @@ -28,3 +30,6 @@ remain unchanged. /* STDC(1,201112) */ + + +#endif diff --git a/src/stdio/gets_s.c b/src/stdio/gets_s.c index 88434c40..3cbe4d86 100644 --- a/src/stdio/gets_s.c +++ b/src/stdio/gets_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <limits.h> @@ -31,3 +33,6 @@ remain unchanged. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/getw.c b/src/stdio/getw.c index ec6f97df..6476781c 100644 --- a/src/stdio/getw.c +++ b/src/stdio/getw.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> # define _XOPEN_LEGACY 500 @@ -10,3 +12,6 @@ int getw(FILE *stream) /* XOPEN(4,600) */ + + +#endif diff --git a/src/stdio/pclose.c b/src/stdio/pclose.c index a9a89517..1d7a5b19 100644 --- a/src/stdio/pclose.c +++ b/src/stdio/pclose.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <sys/types.h> #include <sys/wait.h> @@ -21,3 +23,6 @@ int pclose(FILE * stream) POSIX(2) */ + + +#endif diff --git a/src/stdio/perror.c b/src/stdio/perror.c index 788bb4fc..8053a5dc 100644 --- a/src/stdio/perror.c +++ b/src/stdio/perror.c @@ -1,3 +1,5 @@ +#if 0 + #include <errno.h> #include <stdio.h> #include <string.h> @@ -26,3 +28,6 @@ pointed to by ARGUMENT(s), a colon (CHAR(:)), and a space. POSIX_(L_C_MESSAGES) STDC(1) */ + + +#endif diff --git a/src/stdio/popen.c b/src/stdio/popen.c index dd338519..550c8fda 100644 --- a/src/stdio/popen.c +++ b/src/stdio/popen.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <string.h> #include <errno.h> @@ -70,3 +72,6 @@ FILE * popen(const char * command, const char * mode) POSIX(2) */ + + +#endif diff --git a/src/stdio/printf.c b/src/stdio/printf.c index bc90c766..f28240f4 100644 --- a/src/stdio/printf.c +++ b/src/stdio/printf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -106,3 +108,6 @@ UNDEFINED(`Precision with a conversion specifier other than CHAR(d), CHAR(i), CH UNDEFINED(TODO: Using h or l for !(diouxXn) or L for !(eEfgG)) STDC(1) */ + + +#endif diff --git a/src/stdio/printf_s.c b/src/stdio/printf_s.c index ac92ca64..408c9d72 100644 --- a/src/stdio/printf_s.c +++ b/src/stdio/printf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> @@ -28,3 +30,6 @@ FIXME: printf format goes here /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/putc.c b/src/stdio/putc.c index 48e11719..5a0836dd 100644 --- a/src/stdio/putc.c +++ b/src/stdio/putc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** write a character to a file stream **/ @@ -19,3 +21,6 @@ as a macro, it may evaluate ARGUMENT(stream) more than once. /* STDC(1) */ + + +#endif diff --git a/src/stdio/putc_unlocked.c b/src/stdio/putc_unlocked.c index c6fec42c..4ff4c2e2 100644 --- a/src/stdio/putc_unlocked.c +++ b/src/stdio/putc_unlocked.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" #include "_assert.h" @@ -41,3 +43,6 @@ RETURN_SUCCESS(ARGUMENT(c)) RETURN_FAILURE(CONSTANT(EOF)) POSIX(199506) */ + + +#endif diff --git a/src/stdio/putchar.c b/src/stdio/putchar.c index 992d2f1e..d42a0836 100644 --- a/src/stdio/putchar.c +++ b/src/stdio/putchar.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** write a character to stdout **/ @@ -19,3 +21,6 @@ IDENTIFIER(stdout). /* STDC(1) */ + + +#endif diff --git a/src/stdio/putchar_unlocked.c b/src/stdio/putchar_unlocked.c index aecfe4a1..be048b20 100644 --- a/src/stdio/putchar_unlocked.c +++ b/src/stdio/putchar_unlocked.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> int putchar_unlocked(int c) @@ -8,3 +10,6 @@ int putchar_unlocked(int c) /* POSIX(199506) */ + + +#endif diff --git a/src/stdio/puts.c b/src/stdio/puts.c index 93931216..1e73158c 100644 --- a/src/stdio/puts.c +++ b/src/stdio/puts.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -39,3 +41,6 @@ followed by a newline. The terminated CHAR(\0) is not written. /* STDC(1) */ + + +#endif diff --git a/src/stdio/putw.c b/src/stdio/putw.c index 8aac6d23..19ea92b7 100644 --- a/src/stdio/putw.c +++ b/src/stdio/putw.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> # define _XOPEN_LEGACY 500 @@ -9,3 +11,6 @@ int putw(int w, FILE *stream) /* XOPEN(4,600) */ + + +#endif diff --git a/src/stdio/remove.c b/src/stdio/remove.c index 39b5a74c..56c678db 100644 --- a/src/stdio/remove.c +++ b/src/stdio/remove.c @@ -1,3 +1,5 @@ +#if 0 + #ifndef _POSIX_SOURCE #define _POSIX_SOURCE #define POSIX_FORCED @@ -36,3 +38,6 @@ open that file will fail unless creating a new file. IMPLEMENTATION(Whether the file is removed if it is open) STDC(1) */ + + +#endif diff --git a/src/stdio/rename.c b/src/stdio/rename.c index ad1be639..3a736287 100644 --- a/src/stdio/rename.c +++ b/src/stdio/rename.c @@ -1,3 +1,5 @@ +#if 0 + #include <errno.h> #include <stdio.h> #include "_syscall.h" @@ -18,3 +20,6 @@ ARGUMENT(new). IMPLEMENTATION(Behavior if ARGUMENT(new) exists prior to THIS() being called) STDC(1) */ + + +#endif diff --git a/src/stdio/rewind.c b/src/stdio/rewind.c index 94694edb..200534fe 100644 --- a/src/stdio/rewind.c +++ b/src/stdio/rewind.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** reset file position indicator **/ @@ -16,3 +18,6 @@ beginning of the file. The error indicator will be cleared. /* STDC(1) */ + + +#endif diff --git a/src/stdio/scanf.c b/src/stdio/scanf.c index 23e82417..b75eb59e 100644 --- a/src/stdio/scanf.c +++ b/src/stdio/scanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -30,3 +32,6 @@ FIXME: scanf format goes here /* STDC(1) */ + + +#endif diff --git a/src/stdio/scanf_s.c b/src/stdio/scanf_s.c index 29a3370b..2d31e597 100644 --- a/src/stdio/scanf_s.c +++ b/src/stdio/scanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> @@ -28,3 +30,6 @@ FIXME: scanf format goes here /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/setbuf.c b/src/stdio/setbuf.c index 1efa8ea1..ce8ad682 100644 --- a/src/stdio/setbuf.c +++ b/src/stdio/setbuf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** specify file stream buffer **/ @@ -24,3 +26,6 @@ equivalent of: /* STDC(1) */ + + +#endif diff --git a/src/stdio/setvbuf.c b/src/stdio/setvbuf.c index 2edfdaea..5b143ecd 100644 --- a/src/stdio/setvbuf.c +++ b/src/stdio/setvbuf.c @@ -1,3 +1,5 @@ +#if 0 + #include <errno.h> #include <stdio.h> #include <stdlib.h> @@ -76,3 +78,6 @@ The ARGUMENT(size) argument specifies the size of the buffer. /* STDC(1) */ + + +#endif diff --git a/src/stdio/snprintf.c b/src/stdio/snprintf.c index a6896c8a..9cac9a7f 100644 --- a/src/stdio/snprintf.c +++ b/src/stdio/snprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> #include "_stdio.h" @@ -21,3 +23,6 @@ int snprintf(char * restrict s, size_t n, const char * restrict format, ...) /* STDC(199901) */ + + +#endif diff --git a/src/stdio/snprintf_s.c b/src/stdio/snprintf_s.c index 9ed36fcc..7856fd40 100644 --- a/src/stdio/snprintf_s.c +++ b/src/stdio/snprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> int snprintf_s( char * restrict s, rsize_t n, const char * restrict format, ...) @@ -8,3 +10,6 @@ int snprintf_s( char * restrict s, rsize_t n, const char * restrict format, ...) /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/sprintf.c b/src/stdio/sprintf.c index d6776fe4..cd3fe63b 100644 --- a/src/stdio/sprintf.c +++ b/src/stdio/sprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -30,3 +32,6 @@ FUNCTION(printf). /* STDC(1) */ + + +#endif diff --git a/src/stdio/sprintf_s.c b/src/stdio/sprintf_s.c index 06e64b1f..dd70f149 100644 --- a/src/stdio/sprintf_s.c +++ b/src/stdio/sprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> @@ -27,3 +29,6 @@ fn(printf). /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/sscanf.c b/src/stdio/sscanf.c index e8ccaf9e..520e0669 100644 --- a/src/stdio/sscanf.c +++ b/src/stdio/sscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -30,3 +32,6 @@ FUNCTION(scanf). /* STDC(1) */ + + +#endif diff --git a/src/stdio/sscanf_s.c b/src/stdio/sscanf_s.c index 5c782458..be9033aa 100644 --- a/src/stdio/sscanf_s.c +++ b/src/stdio/sscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> @@ -28,3 +30,6 @@ fn(scanf). /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/tempnam.c b/src/stdio/tempnam.c index d35dde0d..719f94ca 100644 --- a/src/stdio/tempnam.c +++ b/src/stdio/tempnam.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> char * tempnam(const char * dir, const char * pfx) @@ -8,3 +10,6 @@ char * tempnam(const char * dir, const char * pfx) /* XOPEN(4) */ + + +#endif diff --git a/src/stdio/tmpfile.c b/src/stdio/tmpfile.c index 06662dd7..b7ae0e77 100644 --- a/src/stdio/tmpfile.c +++ b/src/stdio/tmpfile.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** open a temporary file stream **/ @@ -30,3 +32,6 @@ or when the program exits. IMPLEMENTATION(Whether the temporary file is removed if the program terminates abnormally) STDC(1) */ + + +#endif diff --git a/src/stdio/tmpfile_s.c b/src/stdio/tmpfile_s.c index ea846493..84bff0c8 100644 --- a/src/stdio/tmpfile_s.c +++ b/src/stdio/tmpfile_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /* open a temporary file stream */ @@ -24,3 +26,6 @@ be automatically removed when closed by fn(fclose) or when the program exits. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/tmpnam.c b/src/stdio/tmpnam.c index f5e79c55..b4ac6b8e 100644 --- a/src/stdio/tmpnam.c +++ b/src/stdio/tmpnam.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** generate a temporary file name **/ @@ -40,3 +42,6 @@ this array. IMPLEMENTATION(Behavior if THIS() is called more than CONSTANT(TMP_MAX) times) STDC(1) */ + + +#endif diff --git a/src/stdio/tmpnam_s.c b/src/stdio/tmpnam_s.c index 6a20f93d..3f5462a0 100644 --- a/src/stdio/tmpnam_s.c +++ b/src/stdio/tmpnam_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** generate a temporary file name **/ @@ -41,3 +43,6 @@ macro(L_tmpnam) characters. The temporary name will be copied to this array. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/ungetc.c b/src/stdio/ungetc.c index c34f4d20..a3fc7d0a 100644 --- a/src/stdio/ungetc.c +++ b/src/stdio/ungetc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -37,3 +39,6 @@ is obsolete in ISO/IEC 9899:1999. /* STDC(1) */ + + +#endif diff --git a/src/stdio/vfprintf.c b/src/stdio/vfprintf.c index db60a8fd..9eea0bed 100644 --- a/src/stdio/vfprintf.c +++ b/src/stdio/vfprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -29,3 +31,6 @@ responsible for this. /* STDC(1) */ + + +#endif diff --git a/src/stdio/vfprintf_s.c b/src/stdio/vfprintf_s.c index 5c2b4b9d..9de51739 100644 --- a/src/stdio/vfprintf_s.c +++ b/src/stdio/vfprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "__stdio.h" #include <stdarg.h> @@ -31,3 +33,6 @@ responsible for this. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/vfscanf.c b/src/stdio/vfscanf.c index 430419a5..271ac15f 100644 --- a/src/stdio/vfscanf.c +++ b/src/stdio/vfscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -14,3 +16,6 @@ int vfscanf(FILE * restrict stream, const char * restrict format, va_list arg) /* STDC(199901) */ + + +#endif diff --git a/src/stdio/vfscanf_s.c b/src/stdio/vfscanf_s.c index 726d9508..7e8008a2 100644 --- a/src/stdio/vfscanf_s.c +++ b/src/stdio/vfscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> int vfscanf_s(FILE * restrict stream, const char * restrict format, va_list arg) @@ -8,3 +10,6 @@ int vfscanf_s(FILE * restrict stream, const char * restrict format, va_list arg) /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/vprintf.c b/src/stdio/vprintf.c index a27a8d73..9c8bea83 100644 --- a/src/stdio/vprintf.c +++ b/src/stdio/vprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> #include "_stdio.h" @@ -27,3 +29,6 @@ responsible for this. /* STDC(1) */ + + +#endif diff --git a/src/stdio/vprintf_s.c b/src/stdio/vprintf_s.c index dd65f66a..4d905bbc 100644 --- a/src/stdio/vprintf_s.c +++ b/src/stdio/vprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** write formatted output **/ @@ -26,3 +28,6 @@ responsible for this. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/vscanf.c b/src/stdio/vscanf.c index 189ae04f..990a8584 100644 --- a/src/stdio/vscanf.c +++ b/src/stdio/vscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> int vscanf(const char * restrict format, va_list arg) @@ -8,3 +10,6 @@ int vscanf(const char * restrict format, va_list arg) /* STDC(199901) */ + + +#endif diff --git a/src/stdio/vscanf_s.c b/src/stdio/vscanf_s.c index 7f154f30..02b2941a 100644 --- a/src/stdio/vscanf_s.c +++ b/src/stdio/vscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> int vscanf_s(const char * restrict format, va_list arg) @@ -9,3 +11,6 @@ int vscanf_s(const char * restrict format, va_list arg) /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/vsnprintf.c b/src/stdio/vsnprintf.c index 92753a90..14636805 100644 --- a/src/stdio/vsnprintf.c +++ b/src/stdio/vsnprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> #include "_stdio.h" @@ -16,3 +18,6 @@ int vsnprintf(char * restrict s, size_t n, const char *format, va_list arg) /* STDC(199901) */ + + +#endif diff --git a/src/stdio/vsnprintf_s.c b/src/stdio/vsnprintf_s.c index 3a4a1cce..f1dbdbd1 100644 --- a/src/stdio/vsnprintf_s.c +++ b/src/stdio/vsnprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -14,3 +16,6 @@ int vsnprintf_s(char * restrict s, rsize_t n, const char * restrict format, va_l /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/vsprintf.c b/src/stdio/vsprintf.c index 8ddc4642..1954158a 100644 --- a/src/stdio/vsprintf.c +++ b/src/stdio/vsprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -29,3 +31,6 @@ responsible for this. /* STDC(1) */ + + +#endif diff --git a/src/stdio/vsprintf_s.c b/src/stdio/vsprintf_s.c index 5179c7e6..002e5366 100644 --- a/src/stdio/vsprintf_s.c +++ b/src/stdio/vsprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> #include <stdint.h> @@ -27,3 +29,6 @@ responsible for this. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/vsscanf.c b/src/stdio/vsscanf.c index dcf40db8..ffda877b 100644 --- a/src/stdio/vsscanf.c +++ b/src/stdio/vsscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> #include "_stdio.h" @@ -15,3 +17,6 @@ int vsscanf(const char * restrict s, const char * restrict format, va_list arg) /* STDC(199901) */ + + +#endif diff --git a/src/stdio/vsscanf_s.c b/src/stdio/vsscanf_s.c index 1039a9d5..1e94ef1b 100644 --- a/src/stdio/vsscanf_s.c +++ b/src/stdio/vsscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> int vsscanf_s(const char * restrict s, const char * restrict format, va_list arg) @@ -8,3 +10,6 @@ int vsscanf_s(const char * restrict s, const char * restrict format, va_list arg /* CEXT1(201112) */ + + +#endif diff --git a/src/stdlib/_Exit.c b/src/stdlib/_Exit.c index 50f1c37f..b973ebbc 100644 --- a/src/stdlib/_Exit.c +++ b/src/stdlib/_Exit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include "_syscall.h" @@ -29,3 +31,6 @@ No functions registered by fn(atexit) or fn(at_quick_exit) are called. /* STDC(199901) */ + + +#endif diff --git a/src/stdlib/__stdlib.c b/src/stdlib/__stdlib.c index 6fcfd82b..aa67fa10 100644 --- a/src/stdlib/__stdlib.c +++ b/src/stdlib/__stdlib.c @@ -1,3 +1,5 @@ +#if 0 + #include "_stdlib.h" struct __stdlib __stdlib; @@ -5,3 +7,6 @@ struct __stdlib __stdlib; /* STDC(0) */ + + +#endif diff --git a/src/stdlib/a64l.c b/src/stdlib/a64l.c index e47fe49f..f579d5fa 100644 --- a/src/stdlib/a64l.c +++ b/src/stdlib/a64l.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> long a64l(const char *s) @@ -19,3 +21,6 @@ long a64l(const char *s) /* XOPEN(400) */ + + +#endif diff --git a/src/stdlib/abort.c b/src/stdlib/abort.c index 3debab2c..fb2578c8 100644 --- a/src/stdlib/abort.c +++ b/src/stdlib/abort.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include <sys/types.h> #include <signal.h> @@ -24,3 +26,6 @@ IMPLEMENTATION(whether temporary files are removed) IMPLEMENTATION(the value of unsuccessful termination returned to the host environment) STDC(1) */ + + +#endif diff --git a/src/stdlib/abort_handler_s.c b/src/stdlib/abort_handler_s.c index 2405cd79..31d06568 100644 --- a/src/stdlib/abort_handler_s.c +++ b/src/stdlib/abort_handler_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> void abort_handler_s(const char * restrict msg, void * restrict ptr, errno_t error) @@ -8,3 +10,6 @@ void abort_handler_s(const char * restrict msg, void * restrict ptr, errno_t err /* CEXT1(201112) */ + + +#endif diff --git a/src/stdlib/abs.c b/src/stdlib/abs.c index 5cf59b4e..b043fd03 100644 --- a/src/stdlib/abs.c +++ b/src/stdlib/abs.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include <limits.h> @@ -21,3 +23,6 @@ UNDEFINED(ABS(ARGUMENT(j)) cannot be represented) RETURN_SUCCESS(ABS(j)); STDC(1) */ + + +#endif diff --git a/src/stdlib/aligned_alloc.c b/src/stdlib/aligned_alloc.c index 9b721a13..36bae69d 100644 --- a/src/stdlib/aligned_alloc.c +++ b/src/stdlib/aligned_alloc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdli.h> void *aligned_alloc(size_t alignment, size_t size) @@ -10,3 +12,6 @@ void *aligned_alloc(size_t alignment, size_t size) /* STDC(201112) */ + + +#endif diff --git a/src/stdlib/at_quick_exit.c b/src/stdlib/at_quick_exit.c index 01127d4e..f3659fd6 100644 --- a/src/stdlib/at_quick_exit.c +++ b/src/stdlib/at_quick_exit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include <limits.h> #include <errno.h> @@ -52,3 +54,6 @@ program exits via fn(quick_exit). The function must take no parameters. /* STDC(201112) */ + + +#endif diff --git a/src/stdlib/atexit.c b/src/stdlib/atexit.c index 79b486d0..d48b9d0e 100644 --- a/src/stdlib/atexit.c +++ b/src/stdlib/atexit.c @@ -1,3 +1,5 @@ +#if 0 + #include <errno.h> #include <stdlib.h> #include "_stdlib.h" @@ -36,3 +38,6 @@ RETURN_FAILURE(NONZERO) RETURN_SUCCESS(0) STDC(1) */ + + +#endif diff --git a/src/stdlib/atof.c b/src/stdlib/atof.c index c8fd2344..1cb52620 100644 --- a/src/stdlib/atof.c +++ b/src/stdlib/atof.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** convert string to floating-point **/ @@ -17,3 +19,6 @@ LC_CTYPE RETURN_SUCCESS(the converted value) STDC(1) */ + + +#endif diff --git a/src/stdlib/atoi.c b/src/stdlib/atoi.c index 6e58dd22..4ed20bc3 100644 --- a/src/stdlib/atoi.c +++ b/src/stdlib/atoi.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** convert string to integer **/ @@ -17,3 +19,6 @@ LC_CTYPE RETURN_SUCCESS(the converted value) STDC(1) */ + + +#endif diff --git a/src/stdlib/atol.c b/src/stdlib/atol.c index 6bcebf7d..0a1e35d5 100644 --- a/src/stdlib/atol.c +++ b/src/stdlib/atol.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** convert string to long integer **/ @@ -17,3 +19,6 @@ LC_CTYPE RETURN_SUCCESS(the converted value) STDC(1) */ + + +#endif diff --git a/src/stdlib/atoll.c b/src/stdlib/atoll.c index d10cb5ed..b9da2def 100644 --- a/src/stdlib/atoll.c +++ b/src/stdlib/atoll.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** convert string to long long integer **/ @@ -17,3 +19,6 @@ LC_CTYPE RETURN_SUCCESS(the converted value) STDC(199901) */ + + +#endif diff --git a/src/stdlib/bsearch.c b/src/stdlib/bsearch.c index 39de941e..39bf7694 100644 --- a/src/stdlib/bsearch.c +++ b/src/stdlib/bsearch.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** binary search **/ @@ -42,3 +44,6 @@ RETURN_FAILURE(CONSTANT(NULL)) RETURN_SUCCESS(a pointer to the matching element) STDC(1) */ + + +#endif diff --git a/src/stdlib/bsearch_s.c b/src/stdlib/bsearch_s.c index 0f2cee63..dfa1a7ed 100644 --- a/src/stdlib/bsearch_s.c +++ b/src/stdlib/bsearch_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> /** binary search **/ @@ -45,3 +47,6 @@ element. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdlib/calloc.c b/src/stdlib/calloc.c index 76317054..609cd0d4 100644 --- a/src/stdlib/calloc.c +++ b/src/stdlib/calloc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include <string.h> @@ -36,3 +38,6 @@ RETURN_FAILURE(CONSTANT(NULL)) RETURN_SUCCESS(a pointer to the newly allocated memory) STDC(1) */ + + +#endif diff --git a/src/stdlib/div.c b/src/stdlib/div.c index dfd80652..89e6bf0e 100644 --- a/src/stdlib/div.c +++ b/src/stdlib/div.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** calculate quotient and remainder **/ @@ -20,3 +22,6 @@ UNDEFINED(The result cannot be represented) RETURN_SUCCESS(a TYPEDEF(div_t) containing both the quotient and remainder) STDC(1) */ + + +#endif diff --git a/src/stdlib/drand48.c b/src/stdlib/drand48.c index 87ef3359..21a5b1d0 100644 --- a/src/stdlib/drand48.c +++ b/src/stdlib/drand48.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> double drand48(void) @@ -8,3 +10,6 @@ double drand48(void) /* XOPEN(4) */ + + +#endif diff --git a/src/stdlib/ecvt.c b/src/stdlib/ecvt.c index 137c7996..81756c48 100644 --- a/src/stdlib/ecvt.c +++ b/src/stdlib/ecvt.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> char *ecvt(double value, int ndigit, int *decpt, int *sign) @@ -8,3 +10,6 @@ char *ecvt(double value, int ndigit, int *decpt, int *sign) /* XOPEN(400,700) */ + + +#endif diff --git a/src/stdlib/erand48.c b/src/stdlib/erand48.c index 3e4be053..3b1506cf 100644 --- a/src/stdlib/erand48.c +++ b/src/stdlib/erand48.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> double erand48(unsigned short xsubi[3]) @@ -8,3 +10,6 @@ double erand48(unsigned short xsubi[3]) /* XOPEN(4) */ + + +#endif diff --git a/src/stdlib/exit.c b/src/stdlib/exit.c index 557ad2cf..55800ace 100644 --- a/src/stdlib/exit.c +++ b/src/stdlib/exit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include <stdio.h> #include "_stdlib.h" @@ -45,3 +47,6 @@ IMPLEMENTATION(The unsuccessful termination value returned to the host environme /* STDC(1) */ + + +#endif diff --git a/src/stdlib/fcvt.c b/src/stdlib/fcvt.c index 091b3515..cab92565 100644 --- a/src/stdlib/fcvt.c +++ b/src/stdlib/fcvt.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> char *fcvt(double value, int ndigit, int *decpt, int *sign) @@ -8,3 +10,6 @@ char *fcvt(double value, int ndigit, int *decpt, int *sign) /* XOPEN(400,700) */ + + +#endif diff --git a/src/stdlib/free.c b/src/stdlib/free.c index 55a98a2f..350c70cc 100644 --- a/src/stdlib/free.c +++ b/src/stdlib/free.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** deallocate memory **/ @@ -20,3 +22,6 @@ causes nothing to happen. UNDEFINED(ARGUMENT(ptr) was not returned by a previous call to FUNCTION(calloc), FUNCTION(malloc), or FUNCTION(realloc)) STDC(1) */ + + +#endif diff --git a/src/stdlib/gcvt.c b/src/stdlib/gcvt.c index 6c337272..67b6f730 100644 --- a/src/stdlib/gcvt.c +++ b/src/stdlib/gcvt.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> char *gcvt(double value, int ndigit, char *buf) @@ -8,3 +10,6 @@ char *gcvt(double value, int ndigit, char *buf) /* XOPEN(400,700) */ + + +#endif diff --git a/src/stdlib/getenv.c b/src/stdlib/getenv.c index 1eba2241..56ca970d 100644 --- a/src/stdlib/getenv.c +++ b/src/stdlib/getenv.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include <string.h> #include "_stdlib.h" @@ -30,3 +32,6 @@ RETURN_FAILURE(CONSTANT(NULL)) RETURN_SUCCESS(a pointer to the environment string) STDC(1) */ + + +#endif diff --git a/src/stdlib/getenv_s.c b/src/stdlib/getenv_s.c index 8760678b..32904779 100644 --- a/src/stdlib/getenv_s.c +++ b/src/stdlib/getenv_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include <stdlib.h> @@ -25,3 +27,6 @@ environment. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdlib/getsubopt.c b/src/stdlib/getsubopt.c index aff17828..08f56e4f 100644 --- a/src/stdlib/getsubopt.c +++ b/src/stdlib/getsubopt.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> int getsubopt(char ** optionp, char * const * keylistp, char ** valuep) @@ -9,3 +11,6 @@ int getsubopt(char ** optionp, char * const * keylistp, char ** valuep) XOPEN(400) POSIX(200809) */ + + +#endif diff --git a/src/stdlib/grantpt.c b/src/stdlib/grantpt.c index 71e28e2a..beab15ae 100644 --- a/src/stdlib/grantpt.c +++ b/src/stdlib/grantpt.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> int grantpt(int fildes) @@ -8,3 +10,6 @@ int grantpt(int fildes) /* XOPEN(400) */ + + +#endif diff --git a/src/stdlib/ignore_handler_s.c b/src/stdlib/ignore_handler_s.c index ec8c77ff..6ef026eb 100644 --- a/src/stdlib/ignore_handler_s.c +++ b/src/stdlib/ignore_handler_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** ignore constraint violations **/ @@ -22,3 +24,6 @@ It simply returns to its caller. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdlib/initstate.c b/src/stdlib/initstate.c index 93c9c1ab..e10b78a7 100644 --- a/src/stdlib/initstate.c +++ b/src/stdlib/initstate.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> char * initstate(unsigned seed, char * state, size_t size) @@ -8,3 +10,6 @@ char * initstate(unsigned seed, char * state, size_t size) /* XOPEN(400) */ + + +#endif diff --git a/src/stdlib/jrand48.c b/src/stdlib/jrand48.c index f1d508d2..395b56c0 100644 --- a/src/stdlib/jrand48.c +++ b/src/stdlib/jrand48.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> long jrand48(unsigned short xsub[3]) @@ -8,3 +10,6 @@ long jrand48(unsigned short xsub[3]) /* XOPEN(4) */ + + +#endif diff --git a/src/stdlib/l64a.c b/src/stdlib/l64a.c index 99585372..09b9ac95 100644 --- a/src/stdlib/l64a.c +++ b/src/stdlib/l64a.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> char * l64a(long value) @@ -8,3 +10,6 @@ char * l64a(long value) /* XOPEN(400) */ + + +#endif diff --git a/src/stdlib/labs.c b/src/stdlib/labs.c index 5a53524a..aa1aaecf 100644 --- a/src/stdlib/labs.c +++ b/src/stdlib/labs.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include <limits.h> @@ -22,3 +24,6 @@ UNDEFINED(ABS(ARGUMENT(j)) cannot be represented) RETURN_SUCCESS(ABS(ARGUMENT(j))) STDC(1) */ + + +#endif diff --git a/src/stdlib/lcong48.c b/src/stdlib/lcong48.c index 2817def4..b14824d8 100644 --- a/src/stdlib/lcong48.c +++ b/src/stdlib/lcong48.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> void lcong48(unsigned short param[7]) @@ -7,3 +9,6 @@ void lcong48(unsigned short param[7]) /* XOPEN(4) */ + + +#endif diff --git a/src/stdlib/ldiv.c b/src/stdlib/ldiv.c index 0aebaf49..9345b8e0 100644 --- a/src/stdlib/ldiv.c +++ b/src/stdlib/ldiv.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** calculate quotient and remainder **/ @@ -20,3 +22,6 @@ UNDEFINED(The result cannot be represented) RETURN_SUCCESS(a TYPEDEF(ldiv_t) containing both the quotient and remainder) STDC(1) */ + + +#endif diff --git a/src/stdlib/llabs.c b/src/stdlib/llabs.c index a2a6cfbe..9bf435bd 100644 --- a/src/stdlib/llabs.c +++ b/src/stdlib/llabs.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include <limits.h> @@ -22,3 +24,6 @@ UNDEFINED(ABS(ARGUMENT(j)) cannot be represented RETURN_SUCCESS(ABS(ARGUMENT(j)) STDC(199901) */ + + +#endif diff --git a/src/stdlib/lldiv.c b/src/stdlib/lldiv.c index 7487aee2..2472b9f7 100644 --- a/src/stdlib/lldiv.c +++ b/src/stdlib/lldiv.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** calculate quotient and remainder **/ @@ -20,3 +22,6 @@ UNDEFINED(The result cannot be represented) RETURN_SUCCESS(a TYPEDEF(ldiv_t) containing both the quotient and remainder) STDC(199901) */ + + +#endif diff --git a/src/stdlib/lrand48.c b/src/stdlib/lrand48.c index 5d6a7f85..f8477e2e 100644 --- a/src/stdlib/lrand48.c +++ b/src/stdlib/lrand48.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> long lrand48(void) @@ -8,3 +10,6 @@ long lrand48(void) /* XOPEN(4) */ + + +#endif diff --git a/src/stdlib/malloc.c b/src/stdlib/malloc.c index b2116fa7..01924ee4 100644 --- a/src/stdlib/malloc.c +++ b/src/stdlib/malloc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** allocate memory **/ @@ -21,3 +23,6 @@ RETURN_FAILURE(CONSTANT(NULL)) RETURN_SUCCESS(a pointer to the allocated space) STDC(1) */ + + +#endif diff --git a/src/stdlib/mblen.c b/src/stdlib/mblen.c index 9a575e9c..45b80ccb 100644 --- a/src/stdlib/mblen.c +++ b/src/stdlib/mblen.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** count bytes in multibyte character **/ @@ -32,3 +34,6 @@ RETURN(0, ARGUMENT(s) points to a null character); RETURN(TYPE(int), the number of bytes in the multibyte character); STDC(1) */ + + +#endif diff --git a/src/stdlib/mbstowcs.c b/src/stdlib/mbstowcs.c index a5ce53d8..70daf2ca 100644 --- a/src/stdlib/mbstowcs.c +++ b/src/stdlib/mbstowcs.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** convert multibyte string to wide character string **/ @@ -28,3 +30,6 @@ RETURN_FAILURE(-1) RETURN_SUCCESS(the number of wide characters converted, not counting any terminating zero) STDC(1) */ + + +#endif diff --git a/src/stdlib/mbstowcs_s.c b/src/stdlib/mbstowcs_s.c index fb60a896..8abab6e8 100644 --- a/src/stdlib/mbstowcs_s.c +++ b/src/stdlib/mbstowcs_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** convert multibyte string to wide character string **/ @@ -24,3 +26,6 @@ be converted after a null character, which is converted. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdlib/mbtowc.c b/src/stdlib/mbtowc.c index 3704acd4..73c590af 100644 --- a/src/stdlib/mbtowc.c +++ b/src/stdlib/mbtowc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** convert a multibyte character to a wide character **/ @@ -35,3 +37,6 @@ RETURN(0, ARGUMENT(s) points to a null character) RETURN(TYPE(int), the number of bytes in the converted multibyte character) STDC(1) */ + + +#endif diff --git a/src/stdlib/mkstemp.c b/src/stdlib/mkstemp.c index 11831ea2..6c97e468 100644 --- a/src/stdlib/mkstemp.c +++ b/src/stdlib/mkstemp.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> int mkstemp(char * template) @@ -9,3 +11,6 @@ int mkstemp(char * template) XOPEN(400) POSIX(200809) */ + + +#endif diff --git a/src/stdlib/mktemp.c b/src/stdlib/mktemp.c index cc6e5e82..b3656c4c 100644 --- a/src/stdlib/mktemp.c +++ b/src/stdlib/mktemp.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> char *mktemp(char *template) @@ -8,3 +10,6 @@ char *mktemp(char *template) /* XOPEN(400,700) */ + + +#endif diff --git a/src/stdlib/mrand48.c b/src/stdlib/mrand48.c index 7d287fd1..5f9a7f7d 100644 --- a/src/stdlib/mrand48.c +++ b/src/stdlib/mrand48.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> long mrand48(void) @@ -8,3 +10,6 @@ long mrand48(void) /* XOPEN(4) */ + + +#endif diff --git a/src/stdlib/nrand48.c b/src/stdlib/nrand48.c index 35ced790..30ff633c 100644 --- a/src/stdlib/nrand48.c +++ b/src/stdlib/nrand48.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> long nrand48(unsigned short xsubi[3]) @@ -8,3 +10,6 @@ long nrand48(unsigned short xsubi[3]) /* XOPEN(4) */ + + +#endif diff --git a/src/stdlib/ptsname.c b/src/stdlib/ptsname.c index a004294a..fc7cce1c 100644 --- a/src/stdlib/ptsname.c +++ b/src/stdlib/ptsname.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> char * ptsname(int fildes) @@ -8,3 +10,6 @@ char * ptsname(int fildes) /* XOPEN(400) */ + + +#endif diff --git a/src/stdlib/putenv.c b/src/stdlib/putenv.c index 471712e7..723ecb1f 100644 --- a/src/stdlib/putenv.c +++ b/src/stdlib/putenv.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> int putenv(char * string) @@ -8,3 +10,6 @@ int putenv(char * string) /* XOPEN(4) */ + + +#endif diff --git a/src/stdlib/qsort.c b/src/stdlib/qsort.c index 0c7d8e21..9fec5191 100644 --- a/src/stdlib/qsort.c +++ b/src/stdlib/qsort.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** sort an array **/ @@ -53,3 +55,6 @@ is greater than the second. UNSPECIFIED(The order of equal elements) STDC(1) */ + + +#endif diff --git a/src/stdlib/qsort_s.c b/src/stdlib/qsort_s.c index 99afe7f0..4510d36d 100644 --- a/src/stdlib/qsort_s.c +++ b/src/stdlib/qsort_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** sort an array **/ @@ -27,3 +29,6 @@ greater than the second. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdlib/quick_exit.c b/src/stdlib/quick_exit.c index 3ff50e4e..56d4c560 100644 --- a/src/stdlib/quick_exit.c +++ b/src/stdlib/quick_exit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include "_stdlib.h" @@ -41,3 +43,6 @@ streams are closed. All temporary files created by fn(tmpfile) are removed. /* STDC(201112) */ + + +#endif diff --git a/src/stdlib/rand.c b/src/stdlib/rand.c index c00515da..f02adac0 100644 --- a/src/stdlib/rand.c +++ b/src/stdlib/rand.c @@ -1,3 +1,5 @@ +#if 0 + #include "_stdlib.h" /** get a pseudo-random number **/ @@ -14,3 +16,6 @@ computes a pseudo-random number in the range [0,CONSTANT(RAND_MAX)]. RETURN_SUCCESS(a pseudo-random integer) STDC(1) */ + + +#endif diff --git a/src/stdlib/random.c b/src/stdlib/random.c index e3c82a41..4cf34916 100644 --- a/src/stdlib/random.c +++ b/src/stdlib/random.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> long random(void) @@ -8,3 +10,6 @@ long random(void) /* XOPEN(400) */ + + +#endif diff --git a/src/stdlib/realloc.c b/src/stdlib/realloc.c index b5efffb2..98564654 100644 --- a/src/stdlib/realloc.c +++ b/src/stdlib/realloc.c @@ -1,3 +1,5 @@ +#if 0 + #if ((!defined _POSIX_C_SOURCE) || (_POSIX_C_SOURCE < 199309L)) #undef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 199309L /* force mmap() constants */ @@ -65,3 +67,6 @@ RETURN_FAILURE(CONSTANT(NULL)) RETURN_SUCCESS(a pointer to the reallocate space) STDC(1) */ + + +#endif diff --git a/src/stdlib/realpath.c b/src/stdlib/realpath.c index 1d0e04e6..07b946e2 100644 --- a/src/stdlib/realpath.c +++ b/src/stdlib/realpath.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> char * realpath(const char * restrict file_name, char * restrict resolved_name) @@ -8,3 +10,6 @@ char * realpath(const char * restrict file_name, char * restrict resolved_name) /* XOPEN(400) */ + + +#endif diff --git a/src/stdlib/seed48.c b/src/stdlib/seed48.c index a976a7c8..8a070709 100644 --- a/src/stdlib/seed48.c +++ b/src/stdlib/seed48.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> unsigned short * seed48(unsigned short seed16v[3]) @@ -8,3 +10,6 @@ unsigned short * seed48(unsigned short seed16v[3]) /* XOPEN(4) */ + + +#endif diff --git a/src/stdlib/set_constraint_handler_s.c b/src/stdlib/set_constraint_handler_s.c index 3e3200bd..cecf3cbb 100644 --- a/src/stdlib/set_constraint_handler_s.c +++ b/src/stdlib/set_constraint_handler_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> constraint_handler_t set_constraint_handler_s(constraint_handler_t handler) @@ -9,3 +11,6 @@ constraint_handler_t set_constraint_handler_s(constraint_handler_t handler) /* CEXT1(201112) */ + + +#endif diff --git a/src/stdlib/setkey.c b/src/stdlib/setkey.c index 82e12934..61386689 100644 --- a/src/stdlib/setkey.c +++ b/src/stdlib/setkey.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> void setkey(const char * key) @@ -7,3 +9,6 @@ void setkey(const char * key) /* XOPEN(4) */ + + +#endif diff --git a/src/stdlib/setstate.c b/src/stdlib/setstate.c index 9a8ab58b..9d7caa72 100644 --- a/src/stdlib/setstate.c +++ b/src/stdlib/setstate.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> char * setstate(char * state) @@ -8,3 +10,6 @@ char * setstate(char * state) /* XOPEN(400) */ + + +#endif diff --git a/src/stdlib/srand.c b/src/stdlib/srand.c index 42d5be95..ab364ad4 100644 --- a/src/stdlib/srand.c +++ b/src/stdlib/srand.c @@ -1,3 +1,5 @@ +#if 0 + #include "_stdlib.h" /** seed the pseudo-random number generator **/ @@ -16,3 +18,6 @@ Program execution begins with a seed of 1. /* STDC(1) */ + + +#endif diff --git a/src/stdlib/srand48.c b/src/stdlib/srand48.c index 97be97c0..fcd82d93 100644 --- a/src/stdlib/srand48.c +++ b/src/stdlib/srand48.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> void srand48(long seedval) @@ -7,3 +9,6 @@ void srand48(long seedval) /* XOPEN(4) */ + + +#endif diff --git a/src/stdlib/srandom.c b/src/stdlib/srandom.c index a0839684..b2822abd 100644 --- a/src/stdlib/srandom.c +++ b/src/stdlib/srandom.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> void srandom(unsigned seed) @@ -7,3 +9,6 @@ void srandom(unsigned seed) /* XOPEN(400) */ + + +#endif diff --git a/src/stdlib/strtod.c b/src/stdlib/strtod.c index 32ffa973..500c8e32 100644 --- a/src/stdlib/strtod.c +++ b/src/stdlib/strtod.c @@ -1,3 +1,5 @@ +#if 0 + #include <ctype.h> #include <errno.h> #include <float.h> @@ -48,3 +50,6 @@ RETURN(CONSTANT(-HUGE_VAL), converted value too small) RETURN(VAR(a TYPE(double)), the converted value) STDC(1) */ + + +#endif diff --git a/src/stdlib/strtof.c b/src/stdlib/strtof.c index c88a7c3f..18c8b2ac 100644 --- a/src/stdlib/strtof.c +++ b/src/stdlib/strtof.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include <float.h> #include <errno.h> @@ -40,3 +42,6 @@ RETURN(CONSTANT(-HUGE_VALF), converted value too small) RETURN(VAR(a TYPE(float)), the converted value) STDC(199901) */ + + +#endif diff --git a/src/stdlib/strtol.c b/src/stdlib/strtol.c index 08ed591c..9b12b0e6 100644 --- a/src/stdlib/strtol.c +++ b/src/stdlib/strtol.c @@ -1,3 +1,5 @@ +#if 0 + #include <ctype.h> #include <errno.h> #include <limits.h> @@ -45,3 +47,6 @@ RETURN(CONSTANT(LONG_MIN), converted value too small) RETURN(a TYPE(long int) value, the converted value) STDC(1) */ + + +#endif diff --git a/src/stdlib/strtold.c b/src/stdlib/strtold.c index 1c0ce7b8..5bb5bf63 100644 --- a/src/stdlib/strtold.c +++ b/src/stdlib/strtold.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include <float.h> #include <ctype.h> @@ -40,3 +42,6 @@ RETURN(CONSTANT(-HUGE_VALL), converted value too small) RETURN(VAR(a TYPE(long double)), the converted value) STDC(199901) */ + + +#endif diff --git a/src/stdlib/strtoll.c b/src/stdlib/strtoll.c index 00b763c9..5df50390 100644 --- a/src/stdlib/strtoll.c +++ b/src/stdlib/strtoll.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include <ctype.h> #include <limits.h> @@ -17,3 +19,6 @@ long long int strtoll(const char * restrict nptr, char ** restrict endptr, int b /* STDC(199901) */ + + +#endif diff --git a/src/stdlib/strtoul.c b/src/stdlib/strtoul.c index 7a91823f..aa952d0c 100644 --- a/src/stdlib/strtoul.c +++ b/src/stdlib/strtoul.c @@ -1,3 +1,5 @@ +#if 0 + #include <errno.h> #include <ctype.h> #include <limits.h> @@ -44,3 +46,6 @@ RETURN(ULONG_MAX, converted value too large) RETURN(an TYPE(unsigned long int) value, the converted value) STDC(1) */ + + +#endif diff --git a/src/stdlib/strtoull.c b/src/stdlib/strtoull.c index f4d1d248..bf0eff9a 100644 --- a/src/stdlib/strtoull.c +++ b/src/stdlib/strtoull.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include <ctype.h> #include <limits.h> @@ -17,3 +19,6 @@ unsigned long long int strtoull(const char * restrict nptr, char ** restrict end /* STDC(199901) */ + + +#endif diff --git a/src/stdlib/system.c b/src/stdlib/system.c index ce24c83c..dff181d9 100644 --- a/src/stdlib/system.c +++ b/src/stdlib/system.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #ifdef _POSIX_SOURCE @@ -67,3 +69,6 @@ RETURN(NONZERO, If ARGUMENT(string) is CONSTANT(NULL), a command processor is av RETURN(0, If ARGUMENT(string) is CONSTANT(NULL), a command processor is not available) STDC(1) */ + + +#endif diff --git a/src/stdlib/ttyslot.c b/src/stdlib/ttyslot.c index 4e7a2b8e..2fe95dc9 100644 --- a/src/stdlib/ttyslot.c +++ b/src/stdlib/ttyslot.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> int ttyslot(void) @@ -8,3 +10,6 @@ int ttyslot(void) /* XOPEN(400,600) */ + + +#endif diff --git a/src/stdlib/unlockpt.c b/src/stdlib/unlockpt.c index eb15b8dc..45fcc941 100644 --- a/src/stdlib/unlockpt.c +++ b/src/stdlib/unlockpt.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> int unlockpt(int fildes) @@ -8,3 +10,6 @@ int unlockpt(int fildes) /* XOPEN(400) */ + + +#endif diff --git a/src/stdlib/valloc.c b/src/stdlib/valloc.c index 23df0003..647751be 100644 --- a/src/stdlib/valloc.c +++ b/src/stdlib/valloc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> void *valloc(size_t size) @@ -7,3 +9,6 @@ void *valloc(size_t size) /* XOPEN(400,600) */ + + +#endif diff --git a/src/stdlib/wcstombs.c b/src/stdlib/wcstombs.c index 3643a5a4..a39cdc38 100644 --- a/src/stdlib/wcstombs.c +++ b/src/stdlib/wcstombs.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** convert wide character string to multibyte string **/ @@ -23,3 +25,6 @@ RETURN_FAILURE(-1) RETURN_SUCCESS(the number of bytes modified, not counting any terminating null) STDC(1) */ + + +#endif diff --git a/src/stdlib/wcstombs_s.c b/src/stdlib/wcstombs_s.c index a0713638..180426a0 100644 --- a/src/stdlib/wcstombs_s.c +++ b/src/stdlib/wcstombs_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** convert wide character string to multibyte string **/ @@ -26,3 +28,6 @@ after reaching a null wide character, which is converted and stored. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdlib/wctomb.c b/src/stdlib/wctomb.c index a2928a8b..3d834d3b 100644 --- a/src/stdlib/wctomb.c +++ b/src/stdlib/wctomb.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** convert wide character to multibyte character **/ @@ -31,3 +33,6 @@ RETURN(-1, The value of ARGUMENT(wchar) does not correspond to a valid multibyte RETURN(TYPE(int), The number of bytes contained in the multibyte character corresponding to ARGUMENT(wchar)) STDC(1) */ + + +#endif diff --git a/src/stdlib/wctomb_s.c b/src/stdlib/wctomb_s.c index 161b3504..ea3e6865 100644 --- a/src/stdlib/wctomb_s.c +++ b/src/stdlib/wctomb_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> /** convert wide character to multibyte character **/ @@ -30,3 +32,6 @@ state dependency. /* CEXT1(201112) */ + + +#endif diff --git a/src/string/memccpy.c b/src/string/memccpy.c index b3af75ff..80143e32 100644 --- a/src/string/memccpy.c +++ b/src/string/memccpy.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> void *memccpy(void * restrict s1, const void * restrict s2, int c, size_t n) @@ -21,3 +23,6 @@ void *memccpy(void * restrict s1, const void * restrict s2, int c, size_t n) /* XOPEN(4) */ + + +#endif diff --git a/src/string/memchr.c b/src/string/memchr.c index f39ef6bc..97ef3c36 100644 --- a/src/string/memchr.c +++ b/src/string/memchr.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -31,3 +33,6 @@ ARGUMENT(c) (converted to an TYPE(unsigned char)). /* STDC(1) */ + + +#endif diff --git a/src/string/memcmp.c b/src/string/memcmp.c index d5d94bf0..d00093ea 100644 --- a/src/string/memcmp.c +++ b/src/string/memcmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -34,3 +36,6 @@ and ARGUMENT(s2). /* STDC(1) */ + + +#endif diff --git a/src/string/memcpy.c b/src/string/memcpy.c index 69975605..7fda569e 100644 --- a/src/string/memcpy.c +++ b/src/string/memcpy.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -31,3 +33,6 @@ ARGUMENT(s1). /* STDC(1) */ + + +#endif diff --git a/src/string/memcpy_s.c b/src/string/memcpy_s.c index 8bdee520..2d30921b 100644 --- a/src/string/memcpy_s.c +++ b/src/string/memcpy_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -33,3 +35,6 @@ arg(s1). /* CEXT1(201112) */ + + +#endif diff --git a/src/string/memmove.c b/src/string/memmove.c index c9ae1245..371b0334 100644 --- a/src/string/memmove.c +++ b/src/string/memmove.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -35,3 +37,6 @@ is copied so that the ARGUMENT(n) bytes are safely written to ARGUMENT(s1). /* STDC(1) */ + + +#endif diff --git a/src/string/memmove_s.c b/src/string/memmove_s.c index 53e81b45..343a286d 100644 --- a/src/string/memmove_s.c +++ b/src/string/memmove_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include <stdlib.h> #include "_assert.h" @@ -31,3 +33,6 @@ is copied so that the arg(n) bytes are safely written to arg(s1). /* CEXT1(201112) */ + + +#endif diff --git a/src/string/memset.c b/src/string/memset.c index 6991ba4e..774e4418 100644 --- a/src/string/memset.c +++ b/src/string/memset.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -28,3 +30,6 @@ the value ARGUMENT(c) (converted to an TYPE(unsigned char)). /* STDC(1) */ + + +#endif diff --git a/src/string/memset_s.c b/src/string/memset_s.c index 661b8d8b..2784a7c9 100644 --- a/src/string/memset_s.c +++ b/src/string/memset_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> /** fill memory **/ @@ -31,3 +33,6 @@ the value arg(c) (converted to an type(unsigned char)). /* CEXT1(201112) */ + + +#endif diff --git a/src/string/strcat.c b/src/string/strcat.c index ef2fa413..1cc24d1f 100644 --- a/src/string/strcat.c +++ b/src/string/strcat.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -29,3 +31,6 @@ null character of ARGUMENT(s1). /* STDC(1) */ + + +#endif diff --git a/src/string/strcat_s.c b/src/string/strcat_s.c index a8efb98f..7c820daf 100644 --- a/src/string/strcat_s.c +++ b/src/string/strcat_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> /** concatenate strings **/ @@ -27,3 +29,6 @@ null character of arg(s1). /* CEXT1(201112) */ + + +#endif diff --git a/src/string/strchr.c b/src/string/strchr.c index 9aa16001..274b55c5 100644 --- a/src/string/strchr.c +++ b/src/string/strchr.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -22,3 +24,6 @@ ARGUMENT(c) (converted to a TYPE(char)). /* STDC(1) */ + + +#endif diff --git a/src/string/strcmp.c b/src/string/strcmp.c index e447eb31..55796651 100644 --- a/src/string/strcmp.c +++ b/src/string/strcmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -40,3 +42,6 @@ compares the strings at ARGUMENT(s1) and ARGUMENT(s2). /* STDC(1) */ + + +#endif diff --git a/src/string/strcoll.c b/src/string/strcoll.c index 875d990c..d894e011 100644 --- a/src/string/strcoll.c +++ b/src/string/strcoll.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> #include <string.h> #include "_assert.h" @@ -41,3 +43,6 @@ compares the collation values of the strings at ARGUMENT(s1) and ARGUMENT(s2). LC_COLLATE STDC(1) */ + + +#endif diff --git a/src/string/strcpy.c b/src/string/strcpy.c index b6e3ed11..cfe4fa43 100644 --- a/src/string/strcpy.c +++ b/src/string/strcpy.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -29,3 +31,6 @@ including the terminating CHAR(\0). /* STDC(1) */ + + +#endif diff --git a/src/string/strcpy_s.c b/src/string/strcpy_s.c index 5522fc26..bfad3189 100644 --- a/src/string/strcpy_s.c +++ b/src/string/strcpy_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include <limits.h> @@ -27,3 +29,6 @@ including the terminating char(\0). /* CEXT1(201112) */ + + +#endif diff --git a/src/string/strcspn.c b/src/string/strcspn.c index 58d3f33b..6dbcbdb0 100644 --- a/src/string/strcspn.c +++ b/src/string/strcspn.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -28,3 +30,6 @@ the string ARGUMENT(s1) that are not in the string ARGUMENT(s2). RETURN_ALWAYS(the number of non-matching characters); STDC(1) */ + + +#endif diff --git a/src/string/strdup.c b/src/string/strdup.c index 3cbc1d69..7b97f75d 100644 --- a/src/string/strdup.c +++ b/src/string/strdup.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include <stdlib.h> @@ -15,3 +17,6 @@ char * strdup(const char *s) XOPEN(400) POSIX(200809) */ + + +#endif diff --git a/src/string/strerror.c b/src/string/strerror.c index a2d43f0c..bdb1df36 100644 --- a/src/string/strerror.c +++ b/src/string/strerror.c @@ -1,3 +1,5 @@ +#if 0 + #include <errno.h> #include <stdio.h> #include <string.h> @@ -32,3 +34,6 @@ subsequent calls. /* STDC(1) */ + + +#endif diff --git a/src/string/strerror_s.c b/src/string/strerror_s.c index c1e85cac..bffc2a5d 100644 --- a/src/string/strerror_s.c +++ b/src/string/strerror_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include <errno.h> #include "__strerror.h" @@ -33,3 +35,6 @@ subsequent calls. /* CEXT1(201112) */ + + +#endif diff --git a/src/string/strerrorlen_s.c b/src/string/strerrorlen_s.c index 63eaaff6..0679dc2f 100644 --- a/src/string/strerrorlen_s.c +++ b/src/string/strerrorlen_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> size_t strerrorlen_s(errno_t errnum) @@ -11,3 +13,6 @@ size_t strerrorlen_s(errno_t errnum) /* CEXT1(201112) */ + + +#endif diff --git a/src/string/strlen.c b/src/string/strlen.c index 5425970b..e083012f 100644 --- a/src/string/strlen.c +++ b/src/string/strlen.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -24,3 +26,6 @@ including the terminating null character. RETURN_ALWAYS(the length of the string); STDC(1) */ + + +#endif diff --git a/src/string/strncat.c b/src/string/strncat.c index cd3c8efc..3e51cbca 100644 --- a/src/string/strncat.c +++ b/src/string/strncat.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -40,3 +42,6 @@ terminated. RETURN_ALWAYS(ARGUMENT(s1)); STDC(1) */ + + +#endif diff --git a/src/string/strncat_s.c b/src/string/strncat_s.c index cbada131..fa68151c 100644 --- a/src/string/strncat_s.c +++ b/src/string/strncat_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> /** concatenate bounded string **/ @@ -42,3 +44,6 @@ terminated. /* CEXT1(201112) */ + + +#endif diff --git a/src/string/strncmp.c b/src/string/strncmp.c index e5d92e3e..30e83aa8 100644 --- a/src/string/strncmp.c +++ b/src/string/strncmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -31,3 +33,6 @@ ARGUMENT(s2), or until the first CHAR(\0), whichever comes first. /* STDC(1) */ + + +#endif diff --git a/src/string/strncpy.c b/src/string/strncpy.c index b714f0cf..0bea303a 100644 --- a/src/string/strncpy.c +++ b/src/string/strncpy.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -34,3 +36,6 @@ terminated. RETURN_ALWAYS(ARGUMENT(s1)); STDC(1) */ + + +#endif diff --git a/src/string/strncpy_s.c b/src/string/strncpy_s.c index a228f360..2dd2cfdb 100644 --- a/src/string/strncpy_s.c +++ b/src/string/strncpy_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> /** copy bounded string **/ @@ -41,3 +43,6 @@ terminated. /* CEXT1(201112) */ + + +#endif diff --git a/src/string/strnlen_s.c b/src/string/strnlen_s.c index 9862974f..f46ddcb2 100644 --- a/src/string/strnlen_s.c +++ b/src/string/strnlen_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> size_t strnlen_s(const char *s, size_t maxsize) @@ -15,3 +17,6 @@ size_t strnlen_s(const char *s, size_t maxsize) /* CEXT1(201112) */ + + +#endif diff --git a/src/string/strpbrk.c b/src/string/strpbrk.c index 9ad6a5ff..4b99b623 100644 --- a/src/string/strpbrk.c +++ b/src/string/strpbrk.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -28,3 +30,6 @@ RETURN_FAILURE(CONSTANT(NULL)); RETURN_SUCCESS(a pointer to the located character); STDC(1) */ + + +#endif diff --git a/src/string/strrchr.c b/src/string/strrchr.c index 8b033596..c85cb046 100644 --- a/src/string/strrchr.c +++ b/src/string/strrchr.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -30,3 +32,6 @@ string ARGUMENT(s). /* STDC(1) */ + + +#endif diff --git a/src/string/strspn.c b/src/string/strspn.c index 098ea8d0..9762d953 100644 --- a/src/string/strspn.c +++ b/src/string/strspn.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -28,3 +30,6 @@ up of characters from ARGUMENT(s2). RETURN_ALWAYS(the number of matching characters); STDC(1) */ + + +#endif diff --git a/src/string/strstr.c b/src/string/strstr.c index d0f3551a..4a8d9767 100644 --- a/src/string/strstr.c +++ b/src/string/strstr.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -37,3 +39,6 @@ character of ARGUMENT(s1). /* STDC(1) */ + + +#endif diff --git a/src/string/strtok.c b/src/string/strtok.c index f6c340ef..e031e55a 100644 --- a/src/string/strtok.c +++ b/src/string/strtok.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -36,3 +38,6 @@ CHAR(\0), terminating the token. /* STDC(1) */ + + +#endif diff --git a/src/string/strtok_s.c b/src/string/strtok_s.c index caeb4c6d..ef2c0075 100644 --- a/src/string/strtok_s.c +++ b/src/string/strtok_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> char * strtok_s(char * restrict s1, rsize_t * restrict s1max, const char * restrict s2, char **restrict ptr) @@ -23,3 +25,6 @@ char * strtok_s(char * restrict s1, rsize_t * restrict s1max, const char * restr /* CEXT1(201112) */ + + +#endif diff --git a/src/string/strxfrm.c b/src/string/strxfrm.c index c107d662..498e8e5c 100644 --- a/src/string/strxfrm.c +++ b/src/string/strxfrm.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include "_assert.h" @@ -29,3 +31,6 @@ UNDEFINED(ARGUMENT(n) is not ZERO and ARGUMENT(s1) is CONSTANT(NULL)) RETURN_ALWAYS(the length of the transformed string, not including the terminating CHAR(\0)); STDC(1) */ + + +#endif diff --git a/src/strings/bcmp.c b/src/strings/bcmp.c index 052beb7c..7c5010e7 100644 --- a/src/strings/bcmp.c +++ b/src/strings/bcmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include <strings.h> @@ -9,3 +11,6 @@ int bcmp(const void *s1, const void *s2, size_t n) /* XOPEN(400,700) */ + + +#endif diff --git a/src/strings/bcopy.c b/src/strings/bcopy.c index a464db8e..3cc0ac6b 100644 --- a/src/strings/bcopy.c +++ b/src/strings/bcopy.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include <strings.h> @@ -10,3 +12,6 @@ int bcopy(const void *s1, void *s2, size_t n) /* XOPEN(400,700) */ + + +#endif diff --git a/src/strings/bzero.c b/src/strings/bzero.c index 383d55c3..dd28c8b6 100644 --- a/src/strings/bzero.c +++ b/src/strings/bzero.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include <strings.h> @@ -9,3 +11,6 @@ void bzero(void* s, size_t n) /* XOPEN(400,700) */ + + +#endif diff --git a/src/strings/ffs.c b/src/strings/ffs.c index 7e29487d..8c37ed0b 100644 --- a/src/strings/ffs.c +++ b/src/strings/ffs.c @@ -1,3 +1,5 @@ +#if 0 + #include <strings.h> int ffs(int i) @@ -18,3 +20,6 @@ int ffs(int i) /* XOPEN(400) */ + + +#endif diff --git a/src/strings/index.c b/src/strings/index.c index 0d5ca277..5531451f 100644 --- a/src/strings/index.c +++ b/src/strings/index.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include <strings.h> @@ -9,3 +11,6 @@ char *index(const char *s, int c) /* XOPEN(400,700) */ + + +#endif diff --git a/src/strings/rindex.c b/src/strings/rindex.c index 2050de25..4f381cc0 100644 --- a/src/strings/rindex.c +++ b/src/strings/rindex.c @@ -1,3 +1,5 @@ +#if 0 + #include <string.h> #include <strings.h> @@ -9,3 +11,6 @@ char *rindex(const char *s, int c) /* XOPEN(400,700) */ + + +#endif diff --git a/src/strings/strcasecmp.c b/src/strings/strcasecmp.c index a5955f4e..b8f6ea11 100644 --- a/src/strings/strcasecmp.c +++ b/src/strings/strcasecmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <strings.h> #include <ctype.h> @@ -24,3 +26,6 @@ int strcasecmp(const char *s1, const char *s2) XOPEN(400) POSIX(200809) */ + + +#endif diff --git a/src/strings/strncasecmp.c b/src/strings/strncasecmp.c index fc02e734..7942be88 100644 --- a/src/strings/strncasecmp.c +++ b/src/strings/strncasecmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <strings.h> #include <ctype.h> @@ -29,3 +31,6 @@ int strncasecmp(const char *s1, const char *s2, size_t n) XOPEN(400) POSIX(200809) */ + + +#endif diff --git a/src/stropts/fattach.c b/src/stropts/fattach.c index 471932c4..f407f636 100644 --- a/src/stropts/fattach.c +++ b/src/stropts/fattach.c @@ -1,3 +1,5 @@ +#if 0 + #include <stropts.h> int fattach(int fildes, const char * path ) @@ -7,3 +9,6 @@ int fattach(int fildes, const char * path ) /* XOPEN(400) */ + + +#endif diff --git a/src/stropts/fdetach.c b/src/stropts/fdetach.c index 6404ad98..1917f91b 100644 --- a/src/stropts/fdetach.c +++ b/src/stropts/fdetach.c @@ -1,3 +1,5 @@ +#if 0 + #include <stropts.h> int fdetach(const char * path ) @@ -7,3 +9,6 @@ int fdetach(const char * path ) /* XOPEN(400) */ + + +#endif diff --git a/src/stropts/getmsg.c b/src/stropts/getmsg.c index 567a9ef6..7596d550 100644 --- a/src/stropts/getmsg.c +++ b/src/stropts/getmsg.c @@ -1,3 +1,5 @@ +#if 0 + #include <stropts.h> int getmsg(int fd , struct strbuf * ctlptr , struct strbuf * dataptr , int * flagsp ) @@ -7,3 +9,6 @@ int getmsg(int fd , struct strbuf * ctlptr , struct strbuf * dataptr , int * fla /* XOPEN(400) */ + + +#endif diff --git a/src/stropts/getpmsg.c b/src/stropts/getpmsg.c index c7774e90..39147cc0 100644 --- a/src/stropts/getpmsg.c +++ b/src/stropts/getpmsg.c @@ -1,3 +1,5 @@ +#if 0 + #include <stropts.h> int getpmsg(int fd , struct strbuf * ctlptr , struct strbuf * dataptr , int * bandp , int * flagsp ) @@ -7,3 +9,6 @@ int getpmsg(int fd , struct strbuf * ctlptr , struct strbuf * dataptr , int * ba /* XOPEN(400) */ + + +#endif diff --git a/src/stropts/ioctl.c b/src/stropts/ioctl.c index 57c8b4cc..af0ab043 100644 --- a/src/stropts/ioctl.c +++ b/src/stropts/ioctl.c @@ -1,3 +1,5 @@ +#if 0 + #include <stropts.h> int ioctl(int fildes , int request , ... ) @@ -7,3 +9,6 @@ int ioctl(int fildes , int request , ... ) /* XOPEN(400) */ + + +#endif diff --git a/src/stropts/isastream.c b/src/stropts/isastream.c index f68d2c6b..d52a1fca 100644 --- a/src/stropts/isastream.c +++ b/src/stropts/isastream.c @@ -1,3 +1,5 @@ +#if 0 + #include <stropts.h> int isastream(int fildes ) @@ -7,3 +9,6 @@ int isastream(int fildes ) /* XOPEN(400) */ + + +#endif diff --git a/src/stropts/putmsg.c b/src/stropts/putmsg.c index c9388ce5..ba2e5893 100644 --- a/src/stropts/putmsg.c +++ b/src/stropts/putmsg.c @@ -1,3 +1,5 @@ +#if 0 + #include <stropts.h> int putmsg(int fd , const struct strbuf * ctlptr , const struct strbuf * dataptr , int flags ) @@ -7,3 +9,6 @@ int putmsg(int fd , const struct strbuf * ctlptr , const struct strbuf * dataptr /* XOPEN(400) */ + + +#endif diff --git a/src/stropts/putpmsg.c b/src/stropts/putpmsg.c index 37bda485..4b2813cf 100644 --- a/src/stropts/putpmsg.c +++ b/src/stropts/putpmsg.c @@ -1,3 +1,5 @@ +#if 0 + #include <stropts.h> int putpmsg(int fd , const struct strbuf * ctlptr , const struct strbuf * dataptr , int band , int flags ) @@ -7,3 +9,6 @@ int putpmsg(int fd , const struct strbuf * ctlptr , const struct strbuf * datapt /* XOPEN(400) */ + + +#endif diff --git a/src/syslog/closelog.c b/src/syslog/closelog.c index 35e3de3f..47cf32e8 100644 --- a/src/syslog/closelog.c +++ b/src/syslog/closelog.c @@ -1,3 +1,5 @@ +#if 0 + #include <syslog.h> void closelog(void) @@ -7,3 +9,6 @@ void closelog(void) /* XOPEN(400) */ + + +#endif diff --git a/src/syslog/openlog.c b/src/syslog/openlog.c index 7f4e8558..5693f8cc 100644 --- a/src/syslog/openlog.c +++ b/src/syslog/openlog.c @@ -1,3 +1,5 @@ +#if 0 + #include <syslog.h> void openlog(const char * ident, int logopt, int facility) @@ -7,3 +9,6 @@ void openlog(const char * ident, int logopt, int facility) /* XOPEN(400) */ + + +#endif diff --git a/src/syslog/setlogmask.c b/src/syslog/setlogmask.c index 176f1ba6..2b4a271d 100644 --- a/src/syslog/setlogmask.c +++ b/src/syslog/setlogmask.c @@ -1,3 +1,5 @@ +#if 0 + #include <syslog.h> int setlogmask(int maskpri) @@ -8,3 +10,6 @@ int setlogmask(int maskpri) /* XOPEN(400) */ + + +#endif diff --git a/src/syslog/syslog.c b/src/syslog/syslog.c index 11f4bcba..137815b9 100644 --- a/src/syslog/syslog.c +++ b/src/syslog/syslog.c @@ -1,3 +1,5 @@ +#if 0 + #include <syslog.h> void syslog(int priority, const char * message, ...) @@ -7,3 +9,6 @@ void syslog(int priority, const char * message, ...) /* XOPEN(400) */ + + +#endif diff --git a/src/termios/cfgetispeed.c b/src/termios/cfgetispeed.c index dba550ef..6d2e0a3d 100644 --- a/src/termios/cfgetispeed.c +++ b/src/termios/cfgetispeed.c @@ -1,3 +1,5 @@ +#if 0 + #include <termios.h> #include "_assert.h" @@ -9,3 +11,6 @@ speed_t cfgetispeed(const struct termios *termios_p) /* POSIX(1) */ + + +#endif diff --git a/src/termios/cfgetospeed.c b/src/termios/cfgetospeed.c index f4a9e3e3..5286235c 100644 --- a/src/termios/cfgetospeed.c +++ b/src/termios/cfgetospeed.c @@ -1,3 +1,5 @@ +#if 0 + #include <termios.h> #include "_assert.h" @@ -9,3 +11,6 @@ speed_t cfgetospeed(const struct termios *termios_p) /* POSIX(1) */ + + +#endif diff --git a/src/termios/cfsetispeed.c b/src/termios/cfsetispeed.c index b13c8423..b3747f84 100644 --- a/src/termios/cfsetispeed.c +++ b/src/termios/cfsetispeed.c @@ -1,3 +1,5 @@ +#if 0 + #include <termios.h> #include <errno.h> #include "_assert.h" @@ -37,3 +39,6 @@ int cfsetispeed(struct termios *termios_p, speed_t speed) /* POSIX(1) */ + + +#endif diff --git a/src/termios/cfsetospeed.c b/src/termios/cfsetospeed.c index edb3f994..3cce4879 100644 --- a/src/termios/cfsetospeed.c +++ b/src/termios/cfsetospeed.c @@ -1,3 +1,5 @@ +#if 0 + #include <termios.h> #include <errno.h> #include "_assert.h" @@ -36,3 +38,6 @@ int cfsetospeed(struct termios *termios_p, speed_t speed) /* POSIX(1) */ + + +#endif diff --git a/src/termios/tcdrain.c b/src/termios/tcdrain.c index 8f117ac1..1a74c30d 100644 --- a/src/termios/tcdrain.c +++ b/src/termios/tcdrain.c @@ -1,3 +1,5 @@ +#if 0 + #include <termios.h> #include "_termios.h" @@ -8,3 +10,6 @@ int tcdrain(int fildes) /* POSIX(1) */ + + +#endif diff --git a/src/termios/tcflow.c b/src/termios/tcflow.c index 41fdcfbc..a14b0f3c 100644 --- a/src/termios/tcflow.c +++ b/src/termios/tcflow.c @@ -1,3 +1,5 @@ +#if 0 + #include <termios.h> #include "_termios.h" @@ -9,3 +11,6 @@ int tcflow(int fildes, int action) /* POSIX(1) */ + + +#endif diff --git a/src/termios/tcflush.c b/src/termios/tcflush.c index 98a89749..94995615 100644 --- a/src/termios/tcflush.c +++ b/src/termios/tcflush.c @@ -1,3 +1,5 @@ +#if 0 + #include <termios.h> #include "_termios.h" @@ -9,3 +11,6 @@ int tcflush(int fildes, int queue_selector) /* POSIX(1) */ + + +#endif diff --git a/src/termios/tcgetattr.c b/src/termios/tcgetattr.c index 0f74be5c..364dc9f7 100644 --- a/src/termios/tcgetattr.c +++ b/src/termios/tcgetattr.c @@ -1,3 +1,5 @@ +#if 0 + #include <termios.h> #include "_termios.h" @@ -14,3 +16,6 @@ int tcgetattr(int fildes, struct termios *termios_p) /* POSIX(1) */ + + +#endif diff --git a/src/termios/tcgetsid.c b/src/termios/tcgetsid.c index 4a202233..54836010 100644 --- a/src/termios/tcgetsid.c +++ b/src/termios/tcgetsid.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <termios.h> @@ -14,3 +16,6 @@ pid_t tcgetsid(int fildes) XOPEN(400) POSIX(200809) */ + + +#endif diff --git a/src/termios/tcsendbreak.c b/src/termios/tcsendbreak.c index fab5927e..020208a0 100644 --- a/src/termios/tcsendbreak.c +++ b/src/termios/tcsendbreak.c @@ -1,3 +1,5 @@ +#if 0 + #include <termios.h> #include "_termios.h" @@ -8,3 +10,6 @@ int tcsendbreak(int fildes, int duration) /* POSIX(1) */ + + +#endif diff --git a/src/termios/tcsetattr.c b/src/termios/tcsetattr.c index a40439a2..dcaacc92 100644 --- a/src/termios/tcsetattr.c +++ b/src/termios/tcsetattr.c @@ -1,3 +1,5 @@ +#if 0 + #include <termios.h> #include <errno.h> #include "_termios.h" @@ -32,3 +34,6 @@ int tcsetattr(int fildes, int optional_actions, struct termios *termios_p) /* POSIX(1) */ + + +#endif diff --git a/src/threads/call_once.c b/src/threads/call_once.c index 1f1a792c..a4418b85 100644 --- a/src/threads/call_once.c +++ b/src/threads/call_once.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ void call_once(once_flag *flag, void (*func)(void)) /* STDC(201112) */ + + +#endif diff --git a/src/threads/cnd_broadcast.c b/src/threads/cnd_broadcast.c index c8a66798..75fb529c 100644 --- a/src/threads/cnd_broadcast.c +++ b/src/threads/cnd_broadcast.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ int cnd_broadcast(cnd_t *cond) /* STDC(201112) */ + + +#endif diff --git a/src/threads/cnd_destroy.c b/src/threads/cnd_destroy.c index ca723dac..9153cab4 100644 --- a/src/threads/cnd_destroy.c +++ b/src/threads/cnd_destroy.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ void cnd_destroy(cnd_t *cond) /* STDC(201112) */ + + +#endif diff --git a/src/threads/cnd_init.c b/src/threads/cnd_init.c index 75142ac0..de1fda24 100644 --- a/src/threads/cnd_init.c +++ b/src/threads/cnd_init.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> #include <errno.h> @@ -21,3 +23,6 @@ int cnd_init(cnd_t *cond) /* STDC(201112) */ + + +#endif diff --git a/src/threads/cnd_signal.c b/src/threads/cnd_signal.c index 8f652280..a23cd969 100644 --- a/src/threads/cnd_signal.c +++ b/src/threads/cnd_signal.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ int cnd_signal(cnd_t *cond) /* STDC(201112) */ + + +#endif diff --git a/src/threads/cnd_timedwait.c b/src/threads/cnd_timedwait.c index ebd822f0..0086f2c0 100644 --- a/src/threads/cnd_timedwait.c +++ b/src/threads/cnd_timedwait.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> #include <errno.h> @@ -21,3 +23,6 @@ int cnd_timedwait(cnd_t *restrict cond, mtx_t *restrict mtx, const struct timesp /* STDC(201112) */ + + +#endif diff --git a/src/threads/cnd_wait.c b/src/threads/cnd_wait.c index d488ca75..213b94ac 100644 --- a/src/threads/cnd_wait.c +++ b/src/threads/cnd_wait.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ int cnd_wait(cnd_t *cond, mtx_t *mtx) /* STDC(201112) */ + + +#endif diff --git a/src/threads/mtx_destroy.c b/src/threads/mtx_destroy.c index 376542be..4d8a54ce 100644 --- a/src/threads/mtx_destroy.c +++ b/src/threads/mtx_destroy.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ void mtx_destroy(mtx_t *mtx) /* STDC(201112) */ + + +#endif diff --git a/src/threads/mtx_init.c b/src/threads/mtx_init.c index f161a0a1..dbe58812 100644 --- a/src/threads/mtx_init.c +++ b/src/threads/mtx_init.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> #include <errno.h> @@ -17,3 +19,6 @@ int mtx_init(mtx_t *mtx, int type) /* STDC(201112) */ + + +#endif diff --git a/src/threads/mtx_lock.c b/src/threads/mtx_lock.c index 79ca4756..fe1dfeb0 100644 --- a/src/threads/mtx_lock.c +++ b/src/threads/mtx_lock.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ int mtx_lock(mtx_t *mtx) /* STDC(201112) */ + + +#endif diff --git a/src/threads/mtx_timedlock.c b/src/threads/mtx_timedlock.c index 1a435024..77054eec 100644 --- a/src/threads/mtx_timedlock.c +++ b/src/threads/mtx_timedlock.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> #include <errno.h> @@ -21,3 +23,6 @@ int mtx_timedlock(mtx_t *restrict mtx, const struct timespec *restrict ts) /* STDC(201112) */ + + +#endif diff --git a/src/threads/mtx_trylock.c b/src/threads/mtx_trylock.c index bef2a274..c11f8db5 100644 --- a/src/threads/mtx_trylock.c +++ b/src/threads/mtx_trylock.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> #include <errno.h> @@ -21,3 +23,6 @@ int mtx_trylock(mtx_t *mtx) /* STDC(201112) */ + + +#endif diff --git a/src/threads/mtx_unlock.c b/src/threads/mtx_unlock.c index d7055077..e7fa8f30 100644 --- a/src/threads/mtx_unlock.c +++ b/src/threads/mtx_unlock.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ int mtx_unlock(mtx_t *mtx) /* STDC(201112) */ + + +#endif diff --git a/src/threads/once_flag.c b/src/threads/once_flag.c index 16b64509..7fee57a4 100644 --- a/src/threads/once_flag.c +++ b/src/threads/once_flag.c @@ -1,5 +1,10 @@ +#if 0 + typedef /* same as pthread_once_t */ once_flag; /* STDC(201112) */ + + +#endif diff --git a/src/threads/thrd_create.c b/src/threads/thrd_create.c index 31c0fd4c..7e1a1552 100644 --- a/src/threads/thrd_create.c +++ b/src/threads/thrd_create.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> #include <errno.h> @@ -22,3 +24,6 @@ int thrd_create(thrd_t *thr, thrd_start_t func, void *arg) /* STDC(201112) */ + + +#endif diff --git a/src/threads/thrd_current.c b/src/threads/thrd_current.c index 2f2ef860..92e3d3f3 100644 --- a/src/threads/thrd_current.c +++ b/src/threads/thrd_current.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ thrd_t thrd_current(void) /* STDC(201112) */ + + +#endif diff --git a/src/threads/thrd_detach.c b/src/threads/thrd_detach.c index b845369f..3aa1ee29 100644 --- a/src/threads/thrd_detach.c +++ b/src/threads/thrd_detach.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ int thrd_detach(thrd_t thr) /* STDC(201112) */ + + +#endif diff --git a/src/threads/thrd_equal.c b/src/threads/thrd_equal.c index 19f8e621..0bf5fc0b 100644 --- a/src/threads/thrd_equal.c +++ b/src/threads/thrd_equal.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ int thrd_equal(thrd_t thr0, thrd_t thr1) /* STDC(201112) */ + + +#endif diff --git a/src/threads/thrd_exit.c b/src/threads/thrd_exit.c index 0acdbcd8..1258bbf7 100644 --- a/src/threads/thrd_exit.c +++ b/src/threads/thrd_exit.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ _Noreturn void thrd_exit(int res) /* STDC(201112) */ + + +#endif diff --git a/src/threads/thrd_join.c b/src/threads/thrd_join.c index 5c401279..588062f5 100644 --- a/src/threads/thrd_join.c +++ b/src/threads/thrd_join.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ int thrd_join(thrd_t thr, int *res) /* STDC(201112) */ + + +#endif diff --git a/src/threads/thrd_sleep.c b/src/threads/thrd_sleep.c index 8c853d17..d4b78d9d 100644 --- a/src/threads/thrd_sleep.c +++ b/src/threads/thrd_sleep.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <time.h> @@ -9,3 +11,6 @@ int thrd_sleep(const struct timespec *duration, struct timespec *remaining) /* STDC(201112) */ + + +#endif diff --git a/src/threads/thrd_yield.c b/src/threads/thrd_yield.c index 5a6b176c..0d2595ce 100644 --- a/src/threads/thrd_yield.c +++ b/src/threads/thrd_yield.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <sched.h> @@ -9,3 +11,6 @@ void thrd_yield(void) /* STDC(201112) */ + + +#endif diff --git a/src/threads/thread_local.c b/src/threads/thread_local.c index 595bcb22..8014592b 100644 --- a/src/threads/thread_local.c +++ b/src/threads/thread_local.c @@ -1,5 +1,10 @@ +#if 0 + #define thread_local _Thread_local /* STDC(201112) */ + + +#endif diff --git a/src/threads/tss_create.c b/src/threads/tss_create.c index 28219231..ff30995b 100644 --- a/src/threads/tss_create.c +++ b/src/threads/tss_create.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ int tss_create(tss_t *key, tss_dtor_t dtor) /* STDC(201112) */ + + +#endif diff --git a/src/threads/tss_delete.c b/src/threads/tss_delete.c index 23e6873a..eb527fd2 100644 --- a/src/threads/tss_delete.c +++ b/src/threads/tss_delete.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ void tss_delete(tss_t key) /* STDC(201112) */ + + +#endif diff --git a/src/threads/tss_get.c b/src/threads/tss_get.c index f3d44ad3..56e1c7ba 100644 --- a/src/threads/tss_get.c +++ b/src/threads/tss_get.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ void *tss_get(tss_t key) /* STDC(201112) */ + + +#endif diff --git a/src/threads/tss_set.c b/src/threads/tss_set.c index 2314d417..17e8187a 100644 --- a/src/threads/tss_set.c +++ b/src/threads/tss_set.c @@ -1,3 +1,5 @@ +#if 0 + #include <threads.h> #include <pthread.h> @@ -9,3 +11,6 @@ int tss_set(tss_t key, void *val) /* STDC(201112) */ + + +#endif diff --git a/src/time/__time.c b/src/time/__time.c index fd72bacb..a8d9cfb9 100644 --- a/src/time/__time.c +++ b/src/time/__time.c @@ -1,3 +1,8 @@ +#if 0 + #include "_time.h" struct __time __time; + + +#endif diff --git a/src/time/asctime.c b/src/time/asctime.c index 1b96a6e0..a67cb603 100644 --- a/src/time/asctime.c +++ b/src/time/asctime.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <time.h> @@ -35,3 +37,6 @@ hour of the day (in the range (0,23)), LITERAL(mm) is the minute of the hour RETURN_ALWAYS(a pointer to the string) STDC(1) */ + + +#endif diff --git a/src/time/asctime_s.c b/src/time/asctime_s.c index 87985906..a9b69f47 100644 --- a/src/time/asctime_s.c +++ b/src/time/asctime_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> #include <stdio.h> @@ -41,3 +43,6 @@ str(yyyy) is the year. /* CEXT1(201112) */ + + +#endif diff --git a/src/time/clock.c b/src/time/clock.c index bba89063..5ba6dce8 100644 --- a/src/time/clock.c +++ b/src/time/clock.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> /** get processor time **/ @@ -18,3 +20,6 @@ RETURN_FAILURE(CAST(TYPEDEF(clock_t), -1)) RETURN_SUCCESS(the processor time of the current program) STDC(1) */ + + +#endif diff --git a/src/time/clock_getres.c b/src/time/clock_getres.c index 34c437d8..0e2165f3 100644 --- a/src/time/clock_getres.c +++ b/src/time/clock_getres.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> int clock_getres(clockid_t clock_id, struct timespec *res) @@ -9,3 +11,6 @@ int clock_getres(clockid_t clock_id, struct timespec *res) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/time/clock_gettime.c b/src/time/clock_gettime.c index 5f35cf93..7eed951e 100644 --- a/src/time/clock_gettime.c +++ b/src/time/clock_gettime.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> int clock_gettime(clockid_t clock_id, struct timespec *tp) @@ -9,3 +11,6 @@ int clock_gettime(clockid_t clock_id, struct timespec *tp) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/time/clock_settime.c b/src/time/clock_settime.c index 27ae656c..1876a1b3 100644 --- a/src/time/clock_settime.c +++ b/src/time/clock_settime.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> int clock_settime(clockid_t clock_id, const struct timespec *tp) @@ -9,3 +11,6 @@ int clock_settime(clockid_t clock_id, const struct timespec *tp) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/time/ctime.c b/src/time/ctime.c index fd40655f..6502c0ab 100644 --- a/src/time/ctime.c +++ b/src/time/ctime.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> /** convert arithmetic time to string **/ @@ -20,3 +22,6 @@ FUNCTION(asctime). RETURN_ALWAYS(a pointer to the string) STDC(1) */ + + +#endif diff --git a/src/time/ctime_s.c b/src/time/ctime_s.c index a8b8e7f3..c86ba1ce 100644 --- a/src/time/ctime_s.c +++ b/src/time/ctime_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> /** convert arithmetic time to string **/ @@ -22,3 +24,6 @@ fn(asctime). /* CEXT1(201112) */ + + +#endif diff --git a/src/time/daylight.c b/src/time/daylight.c index 8498acc6..420f8d99 100644 --- a/src/time/daylight.c +++ b/src/time/daylight.c @@ -1,5 +1,10 @@ +#if 0 + #include <time.h> int daylight; /* XOPEN(4) */ + + +#endif diff --git a/src/time/difftime.c b/src/time/difftime.c index 17bb5c71..f9c44df0 100644 --- a/src/time/difftime.c +++ b/src/time/difftime.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> /** find difference between two times **/ @@ -15,3 +17,6 @@ subtracts ARGUMENT(time0) from ARGUMENT(time1). RETURN_ALWAYS(the difference in seconds) STDC(1) */ + + +#endif diff --git a/src/time/getdate.c b/src/time/getdate.c index a6a7ec69..a181326f 100644 --- a/src/time/getdate.c +++ b/src/time/getdate.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> struct tm *getdate(const char *string) @@ -8,3 +10,6 @@ struct tm *getdate(const char *string) /* XOPEN(400) */ + + +#endif diff --git a/src/time/getdate_err.c b/src/time/getdate_err.c index d74ad88b..16dd33fe 100644 --- a/src/time/getdate_err.c +++ b/src/time/getdate_err.c @@ -1,6 +1,11 @@ +#if 0 + #include <time.h> int getdate_err; /* XOPEN(400) */ + + +#endif diff --git a/src/time/gmtime.c b/src/time/gmtime.c index 637673be..d1660c6f 100644 --- a/src/time/gmtime.c +++ b/src/time/gmtime.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> #include "_assert.h" #include "_time.h" @@ -59,3 +61,6 @@ RETURN_FAILURE(CONSTANT(NULL)) RETURN_SUCCESS(a pointer to the converted time) STDC(1) */ + + +#endif diff --git a/src/time/gmtime_s.c b/src/time/gmtime_s.c index 30464211..e8cb6a9c 100644 --- a/src/time/gmtime_s.c +++ b/src/time/gmtime_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> /** convert arithmetic time to borken down time **/ @@ -24,3 +26,6 @@ type(struct tm). /* CEXT1(201112) */ + + +#endif diff --git a/src/time/localtime.c b/src/time/localtime.c index ddfecab5..310638c6 100644 --- a/src/time/localtime.c +++ b/src/time/localtime.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> #include "_assert.h" @@ -26,3 +28,6 @@ converts the locale time at ARGUMENT(timer) to a filled out STRUCTDEF(tm). RETURN_ALWAYS(a pointer to the converted object) STDC(1) */ + + +#endif diff --git a/src/time/localtime_s.c b/src/time/localtime_s.c index 8a8797fb..bce984b6 100644 --- a/src/time/localtime_s.c +++ b/src/time/localtime_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> /** convert arithmetic time to broken down time **/ @@ -23,3 +25,6 @@ out type(struct tm). /* CEXT1(201112) */ + + +#endif diff --git a/src/time/mktime.c b/src/time/mktime.c index 3b415b4c..4b2be09b 100644 --- a/src/time/mktime.c +++ b/src/time/mktime.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> #include "_time.h" #include "_assert.h" @@ -91,3 +93,6 @@ RETURN_FAILURE(CAST(TYPEDEF(time_t), -1)) RETURN_SUCCESS(the converted time) STDC(1) */ + + +#endif diff --git a/src/time/nanosleep.c b/src/time/nanosleep.c index 5b722ae6..2e76fa6a 100644 --- a/src/time/nanosleep.c +++ b/src/time/nanosleep.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> #include "_syscall.h" @@ -9,3 +11,6 @@ int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) /* POSIX(199309) */ + + +#endif diff --git a/src/time/strftime.c b/src/time/strftime.c index dfb68276..4c6630dc 100644 --- a/src/time/strftime.c +++ b/src/time/strftime.c @@ -1,3 +1,5 @@ +#if 0 + #include <locale.h> #include <stdio.h> #include <time.h> @@ -191,3 +193,6 @@ RETURN_FAILURE(ZERO) RETURN_SUCCESS(the length of the converted string, not counting the terminating null) STDC(1) */ + + +#endif diff --git a/src/time/strptime.c b/src/time/strptime.c index c3c03547..f1d07bb2 100644 --- a/src/time/strptime.c +++ b/src/time/strptime.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> char *strptime(const char *restrict buf, const char *restrict format, struct tm *restrict tm) @@ -8,3 +10,6 @@ char *strptime(const char *restrict buf, const char *restrict format, struct tm /* XOPEN(4) */ + + +#endif diff --git a/src/time/time.c b/src/time/time.c index d6f4ba7f..d5f76abe 100644 --- a/src/time/time.c +++ b/src/time/time.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> #include <errno.h> #include "_syscall.h" @@ -29,3 +31,6 @@ RETURN_FAILURE(CAST(TYPEDEF(time_t), -1)) RETURN_SUCCESS(the current calndar time) STDC(1) */ + + +#endif diff --git a/src/time/timer_create.c b/src/time/timer_create.c index 3c52a589..6122e6f9 100644 --- a/src/time/timer_create.c +++ b/src/time/timer_create.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> int timer_create(clockid_t clockid, struct sigevent *restrict evp, timer_t *restrict timerid) @@ -9,3 +11,6 @@ int timer_create(clockid_t clockid, struct sigevent *restrict evp, timer_t *rest POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/time/timer_delete.c b/src/time/timer_delete.c index 82ffa586..d3d36359 100644 --- a/src/time/timer_delete.c +++ b/src/time/timer_delete.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> int timer_delete(timer_t timerid) @@ -9,3 +11,6 @@ int timer_delete(timer_t timerid) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/time/timer_getoverrun.c b/src/time/timer_getoverrun.c index bd82d768..627076ef 100644 --- a/src/time/timer_getoverrun.c +++ b/src/time/timer_getoverrun.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> int timer_getoverrun(timer_t timerid) @@ -9,3 +11,6 @@ int timer_getoverrun(timer_t timerid) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/time/timer_gettime.c b/src/time/timer_gettime.c index ce9e078c..34a866b3 100644 --- a/src/time/timer_gettime.c +++ b/src/time/timer_gettime.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> int timer_gettime(timer_t timerid, struct itimerspec *value) @@ -9,3 +11,6 @@ int timer_gettime(timer_t timerid, struct itimerspec *value) POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/time/timer_settime.c b/src/time/timer_settime.c index 3ba34f5f..94d1b81c 100644 --- a/src/time/timer_settime.c +++ b/src/time/timer_settime.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> int timer_settime(timer_t timerid, int flags, const struct itimerspec * restrict value, struct itimerspec * restrict ovalue) @@ -9,3 +11,6 @@ int timer_settime(timer_t timerid, int flags, const struct itimerspec * restrict POSIX(199309) LINK(rt) */ + + +#endif diff --git a/src/time/timespec_get.c b/src/time/timespec_get.c index 0f1c05df..a8ca1fdf 100644 --- a/src/time/timespec_get.c +++ b/src/time/timespec_get.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> int timespec_get(struct timespec *ts, int base) @@ -8,3 +10,6 @@ int timespec_get(struct timespec *ts, int base) /* STDC(201112) */ + + +#endif diff --git a/src/time/timezone.c b/src/time/timezone.c index 8dffd9be..82d0cc06 100644 --- a/src/time/timezone.c +++ b/src/time/timezone.c @@ -1,6 +1,11 @@ +#if 0 + #include <time.h> long timezone; /* XOPEN(4) */ + + +#endif diff --git a/src/time/tzname.c b/src/time/tzname.c index f65d1c1c..02a4beaa 100644 --- a/src/time/tzname.c +++ b/src/time/tzname.c @@ -1,5 +1,10 @@ +#if 0 + #include <time.h> char * tzname[2]; /* POSIX(1) */ + + +#endif diff --git a/src/time/tzset.c b/src/time/tzset.c index ad83b9e1..694a0731 100644 --- a/src/time/tzset.c +++ b/src/time/tzset.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> #include <stdlib.h> #include <string.h> @@ -40,3 +42,6 @@ void tzset(void) /* POSIX(1) */ + + +#endif diff --git a/src/uchar/c16rtomb.c b/src/uchar/c16rtomb.c index a99548c1..1bd1906a 100644 --- a/src/uchar/c16rtomb.c +++ b/src/uchar/c16rtomb.c @@ -1,3 +1,5 @@ +#if 0 + #include <uchar.h> size_t c16rtomb(char * restrict s, char16_t c16, mbstate_t * restrict ps) @@ -8,3 +10,6 @@ size_t c16rtomb(char * restrict s, char16_t c16, mbstate_t * restrict ps) /* STDC(201112) */ + + +#endif diff --git a/src/uchar/c32rtomb.c b/src/uchar/c32rtomb.c index 6fc5ec7e..b1b5ad8f 100644 --- a/src/uchar/c32rtomb.c +++ b/src/uchar/c32rtomb.c @@ -1,3 +1,5 @@ +#if 0 + #include <uchar.h> size_t c32rtomb(char * restrict s, char32_t c32, mbstate_t * restrict ps) @@ -8,3 +10,6 @@ size_t c32rtomb(char * restrict s, char32_t c32, mbstate_t * restrict ps) /* STDC(201112) */ + + +#endif diff --git a/src/uchar/mbrtoc16.c b/src/uchar/mbrtoc16.c index 57468cac..6ceaa412 100644 --- a/src/uchar/mbrtoc16.c +++ b/src/uchar/mbrtoc16.c @@ -1,3 +1,5 @@ +#if 0 + #include <uchar.h> size_t mbrtoc16(char16_t * restrict pc16, const char * restrict s, size_t n, mbstate_t * restrict ps) @@ -8,3 +10,6 @@ size_t mbrtoc16(char16_t * restrict pc16, const char * restrict s, size_t n, mbs /* STDC(201112) */ + + +#endif diff --git a/src/uchar/mbrtoc32.c b/src/uchar/mbrtoc32.c index c640d4aa..ac5954c0 100644 --- a/src/uchar/mbrtoc32.c +++ b/src/uchar/mbrtoc32.c @@ -1,3 +1,5 @@ +#if 0 + #include <uchar.h> size_t mbrtoc32(char32_t * restrict pc32, const char * restrict s, size_t n, mbstate_t * restrict ps) @@ -8,3 +10,6 @@ size_t mbrtoc32(char32_t * restrict pc32, const char * restrict s, size_t n, mbs /* STDC(201112) */ + + +#endif diff --git a/src/ucontext/getcontext.c b/src/ucontext/getcontext.c index eaf1e43a..202deca8 100644 --- a/src/ucontext/getcontext.c +++ b/src/ucontext/getcontext.c @@ -1,3 +1,5 @@ +#if 0 + #include <ucontext.h> int getcontext(ucontext_t *ucp) @@ -8,3 +10,6 @@ int getcontext(ucontext_t *ucp) /* XOPEN(400,700) */ + + +#endif diff --git a/src/ucontext/makecontext.c b/src/ucontext/makecontext.c index 444b8b89..3fb9b0ac 100644 --- a/src/ucontext/makecontext.c +++ b/src/ucontext/makecontext.c @@ -1,3 +1,5 @@ +#if 0 + #include <ucontext.h> void makecontext(ucontext_t *ucp, void (*func)(), int argc, ...) @@ -7,3 +9,6 @@ void makecontext(ucontext_t *ucp, void (*func)(), int argc, ...) /* XOPEN(400,700) */ + + +#endif diff --git a/src/ucontext/setcontext.c b/src/ucontext/setcontext.c index c4808307..ec63d951 100644 --- a/src/ucontext/setcontext.c +++ b/src/ucontext/setcontext.c @@ -1,3 +1,5 @@ +#if 0 + #include <ucontext.h> int setcontext(const ucontext_t *ucp) @@ -8,3 +10,6 @@ int setcontext(const ucontext_t *ucp) /* XOPEN(400,700) */ + + +#endif diff --git a/src/ucontext/swapcontext.c b/src/ucontext/swapcontext.c index 9f8f3cad..33ee9578 100644 --- a/src/ucontext/swapcontext.c +++ b/src/ucontext/swapcontext.c @@ -1,3 +1,5 @@ +#if 0 + #include <ucontext.h> void swapcontext(ucontext_t *oucp, const ucontext_t *ucp) @@ -7,3 +9,6 @@ void swapcontext(ucontext_t *oucp, const ucontext_t *ucp) /* XOPEN(400,700) */ + + +#endif diff --git a/src/ulimit/ulimit.c b/src/ulimit/ulimit.c index 8d763209..b9475779 100644 --- a/src/ulimit/ulimit.c +++ b/src/ulimit/ulimit.c @@ -1,3 +1,5 @@ +#if 0 + #include <ulimit.h> #include <sys/resource.h> #include <stdarg.h> @@ -61,3 +63,6 @@ e*/ /* XOPEN(4) */ + + +#endif diff --git a/src/unistd/_exit.c b/src/unistd/_exit.c index 07a0e53f..c71f4fd9 100644 --- a/src/unistd/_exit.c +++ b/src/unistd/_exit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <sys/types.h> #include <unistd.h> @@ -13,3 +15,6 @@ void _exit(int status) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/access.c b/src/unistd/access.c index 5f80359d..0cbf81d4 100644 --- a/src/unistd/access.c +++ b/src/unistd/access.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <sys/types.h> #include <unistd.h> @@ -41,3 +43,6 @@ int access(const char *path, int amode) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/alarm.c b/src/unistd/alarm.c index 4137902a..2d2d897a 100644 --- a/src/unistd/alarm.c +++ b/src/unistd/alarm.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <sys/types.h> #include <unistd.h> @@ -10,3 +12,6 @@ unsigned alarm(unsigned seconds) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/brk.c b/src/unistd/brk.c index a836772a..d7652e62 100644 --- a/src/unistd/brk.c +++ b/src/unistd/brk.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int brk(void *addr) @@ -8,3 +10,6 @@ int brk(void *addr) /* XOPEN(400,600) */ + + +#endif diff --git a/src/unistd/chdir.c b/src/unistd/chdir.c index 91ef4a52..df906ae4 100644 --- a/src/unistd/chdir.c +++ b/src/unistd/chdir.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <sys/types.h> #include <unistd.h> @@ -10,3 +12,6 @@ int chdir(const char *path) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/chown.c b/src/unistd/chown.c index 38bd3d32..d39f7663 100644 --- a/src/unistd/chown.c +++ b/src/unistd/chown.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> #include "_syscall.h" @@ -9,3 +11,6 @@ int chown(const char *path, uid_t owner, gid_t group) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/chroot.c b/src/unistd/chroot.c index 84abaeaa..b9a001af 100644 --- a/src/unistd/chroot.c +++ b/src/unistd/chroot.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int chroot(const char *path) @@ -8,3 +10,6 @@ int chroot(const char *path) /* XOPEN(400,600) */ + + +#endif diff --git a/src/unistd/close.c b/src/unistd/close.c index eb3893f7..d5a9f702 100644 --- a/src/unistd/close.c +++ b/src/unistd/close.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> #include "_syscall.h" @@ -9,3 +11,6 @@ int close(int fildes) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/confstr.c b/src/unistd/confstr.c index e1f9e17f..99320b6b 100644 --- a/src/unistd/confstr.c +++ b/src/unistd/confstr.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> #include <errno.h> @@ -34,3 +36,6 @@ size_t confstr(int name, char *buf, size_t len) /* POSIX(2) */ + + +#endif diff --git a/src/unistd/crypt.c b/src/unistd/crypt.c index e1235818..91b01da3 100644 --- a/src/unistd/crypt.c +++ b/src/unistd/crypt.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> char * crypt( const char *key, const char *salt) @@ -8,3 +10,6 @@ char * crypt( const char *key, const char *salt) /* XOPEN(4) */ + + +#endif diff --git a/src/unistd/ctermid.c b/src/unistd/ctermid.c index fd87684e..0fb4a510 100644 --- a/src/unistd/ctermid.c +++ b/src/unistd/ctermid.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <sys/types.h> #include <unistd.h> @@ -20,3 +22,6 @@ char * ctermid(char * s) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/cuserid.c b/src/unistd/cuserid.c index a49b56a2..f075c5bf 100644 --- a/src/unistd/cuserid.c +++ b/src/unistd/cuserid.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <sys/types.h> #include <unistd.h> @@ -28,3 +30,6 @@ char *cuserid(char *s) TODO: verify POSIX(1, 199506) */ + + +#endif diff --git a/src/unistd/dup.c b/src/unistd/dup.c index deff2ebf..3de2b1d0 100644 --- a/src/unistd/dup.c +++ b/src/unistd/dup.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <sys/types.h> #include <unistd.h> @@ -10,3 +12,6 @@ int dup(int fildes) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/dup2.c b/src/unistd/dup2.c index 89d0cb8d..e18ff8b1 100644 --- a/src/unistd/dup2.c +++ b/src/unistd/dup2.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <sys/types.h> #include <unistd.h> @@ -14,3 +16,6 @@ int dup2(int fildes, int fildes2) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/encrypt.c b/src/unistd/encrypt.c index 7fa4e7f7..29419657 100644 --- a/src/unistd/encrypt.c +++ b/src/unistd/encrypt.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> void encrypt(char block[64], int edflag) @@ -7,3 +9,6 @@ void encrypt(char block[64], int edflag) /* XOPEN(4) */ + + +#endif diff --git a/src/unistd/execl.c b/src/unistd/execl.c index f2b459da..ed50b0c9 100644 --- a/src/unistd/execl.c +++ b/src/unistd/execl.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <sys/types.h> #include <unistd.h> @@ -22,3 +24,6 @@ int execl(const char *path, const char *arg0, ... /*, (char *)0 */) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/execle.c b/src/unistd/execle.c index d9a8dfeb..09881aec 100644 --- a/src/unistd/execle.c +++ b/src/unistd/execle.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <sys/types.h> #include <unistd.h> @@ -24,3 +26,6 @@ int execle(const char *path, const char *arg0, ... /*, (char *)0, char *const en /* POSIX(1) */ + + +#endif diff --git a/src/unistd/execlp.c b/src/unistd/execlp.c index 14a5f868..b8a5b4d4 100644 --- a/src/unistd/execlp.c +++ b/src/unistd/execlp.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include <sys/types.h> #include <unistd.h> @@ -22,3 +24,6 @@ int execlp(const char *file, const char *arg0, ... /*, (char *0) */) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/execv.c b/src/unistd/execv.c index 5d380b97..3ff81846 100644 --- a/src/unistd/execv.c +++ b/src/unistd/execv.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> @@ -9,3 +11,6 @@ int execv(const char *path, char *const argv[]) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/execve.c b/src/unistd/execve.c index de54fa56..97cdea40 100644 --- a/src/unistd/execve.c +++ b/src/unistd/execve.c @@ -1,3 +1,5 @@ +#if 0 + #include <errno.h> #include <sys/types.h> #include <unistd.h> @@ -12,3 +14,6 @@ int execve(const char *path, char *const argv[], char *const envp[]) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/execvp.c b/src/unistd/execvp.c index 6269f4cd..a7561184 100644 --- a/src/unistd/execvp.c +++ b/src/unistd/execvp.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> #include <errno.h> @@ -17,3 +19,6 @@ int execvp(const char *file, char *const argv[]) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/fchdir.c b/src/unistd/fchdir.c index 433b9a7c..3369aafb 100644 --- a/src/unistd/fchdir.c +++ b/src/unistd/fchdir.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int fchdir(int fildes) @@ -9,3 +11,6 @@ int fchdir(int fildes) XOPEN(400) POSIX(200809) */ + + +#endif diff --git a/src/unistd/fchown.c b/src/unistd/fchown.c index 417def94..00e13458 100644 --- a/src/unistd/fchown.c +++ b/src/unistd/fchown.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int fchown(int fildes, uid_t owner, gid_t group) @@ -9,3 +11,6 @@ int fchown(int fildes, uid_t owner, gid_t group) XOPEN(400) POSIX(200112) */ + + +#endif diff --git a/src/unistd/fdatasync.c b/src/unistd/fdatasync.c index 904c12fe..3791f8f9 100644 --- a/src/unistd/fdatasync.c +++ b/src/unistd/fdatasync.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int fdatasync(int fildes) @@ -8,3 +10,6 @@ int fdatasync(int fildes) /* POSIX(199309) */ + + +#endif diff --git a/src/unistd/fork.c b/src/unistd/fork.c index 53ae4569..99d04c2c 100644 --- a/src/unistd/fork.c +++ b/src/unistd/fork.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include "_syscall.h" @@ -8,3 +10,6 @@ pid_t fork(void) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/fpathconf.c b/src/unistd/fpathconf.c index 79106666..bcd84116 100644 --- a/src/unistd/fpathconf.c +++ b/src/unistd/fpathconf.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> @@ -9,3 +11,6 @@ long fpathconf(int fildes, int name) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/fsync.c b/src/unistd/fsync.c index b0dd3820..47c5f1d8 100644 --- a/src/unistd/fsync.c +++ b/src/unistd/fsync.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int fsync(int fildes) @@ -14,3 +16,6 @@ int fsync(int fildes) XOPEN(4) POSIX(199309) */ + + +#endif diff --git a/src/unistd/ftruncate.c b/src/unistd/ftruncate.c index 6723321f..1df42536 100644 --- a/src/unistd/ftruncate.c +++ b/src/unistd/ftruncate.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int ftruncate(int fildes, off_t length) @@ -14,3 +16,6 @@ int ftruncate(int fildes, off_t length) XOPEN(400) POSIX(199309) */ + + +#endif diff --git a/src/unistd/getcwd.c b/src/unistd/getcwd.c index d6e65228..f3fb8757 100644 --- a/src/unistd/getcwd.c +++ b/src/unistd/getcwd.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> #include "_assert.h" @@ -11,3 +13,6 @@ char * getcwd(char *buf, size_t size) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/getdtablesize.c b/src/unistd/getdtablesize.c index c1fb323d..8fee9d40 100644 --- a/src/unistd/getdtablesize.c +++ b/src/unistd/getdtablesize.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int getdtablesize(void) @@ -8,3 +10,6 @@ int getdtablesize(void) /* XOPEN(400,600) */ + + +#endif diff --git a/src/unistd/getegid.c b/src/unistd/getegid.c index e1e24f0a..86912d12 100644 --- a/src/unistd/getegid.c +++ b/src/unistd/getegid.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include "_syscall.h" @@ -8,3 +10,6 @@ gid_t getegid(void) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/geteuid.c b/src/unistd/geteuid.c index d7f3a610..0c9b7be8 100644 --- a/src/unistd/geteuid.c +++ b/src/unistd/geteuid.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include "_syscall.h" @@ -8,3 +10,6 @@ uid_t geteuid(void) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/getgid.c b/src/unistd/getgid.c index 217775ac..06043e3c 100644 --- a/src/unistd/getgid.c +++ b/src/unistd/getgid.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include "_syscall.h" @@ -8,3 +10,6 @@ gid_t getgid(void) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/getgroups.c b/src/unistd/getgroups.c index f92139f3..30ae81b6 100644 --- a/src/unistd/getgroups.c +++ b/src/unistd/getgroups.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include "_syscall.h" #include "_assert.h" @@ -12,3 +14,6 @@ int getgroups(int gidsetsize, gid_t grouplist[]) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/gethostid.c b/src/unistd/gethostid.c index 6a085885..90f81c27 100644 --- a/src/unistd/gethostid.c +++ b/src/unistd/gethostid.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> long gethostid(void) @@ -8,3 +10,6 @@ long gethostid(void) /* XOPEN(400) */ + + +#endif diff --git a/src/unistd/getlogin.c b/src/unistd/getlogin.c index 1bed5ee8..e534f829 100644 --- a/src/unistd/getlogin.c +++ b/src/unistd/getlogin.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdlib.h> char * getlogin(void) @@ -10,3 +12,6 @@ char * getlogin(void) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/getopt.c b/src/unistd/getopt.c index 2f68f647..04348c7b 100644 --- a/src/unistd/getopt.c +++ b/src/unistd/getopt.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <string.h> #include <stdio.h> @@ -81,3 +83,6 @@ int getopt(int argc, char * const argv[], const char *optstring) /* POSIX(2) */ + + +#endif diff --git a/src/unistd/getpagesize.c b/src/unistd/getpagesize.c index 05d4649c..7ee50077 100644 --- a/src/unistd/getpagesize.c +++ b/src/unistd/getpagesize.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int getpagesize(void) @@ -8,3 +10,6 @@ int getpagesize(void) /* XOPEN(400,600) */ + + +#endif diff --git a/src/unistd/getpass.c b/src/unistd/getpass.c index 5c48e6c8..242c2643 100644 --- a/src/unistd/getpass.c +++ b/src/unistd/getpass.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> char *getpass(const char *prompt) @@ -8,3 +10,6 @@ char *getpass(const char *prompt) /* XOPEN(4,600) */ + + +#endif diff --git a/src/unistd/getpgid.c b/src/unistd/getpgid.c index a12421af..b88adfe6 100644 --- a/src/unistd/getpgid.c +++ b/src/unistd/getpgid.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> pid_t getpgid(pid_t pid) @@ -9,3 +11,6 @@ pid_t getpgid(pid_t pid) XOPEN(400) POSIX(200809) */ + + +#endif diff --git a/src/unistd/getpgrp.c b/src/unistd/getpgrp.c index 5a325790..f0a047f8 100644 --- a/src/unistd/getpgrp.c +++ b/src/unistd/getpgrp.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include "_syscall.h" @@ -8,3 +10,6 @@ pid_t getpgrp(void) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/getpid.c b/src/unistd/getpid.c index a20ef458..4bc681c7 100644 --- a/src/unistd/getpid.c +++ b/src/unistd/getpid.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include "_syscall.h" @@ -8,3 +10,6 @@ pid_t getpid(void) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/getppid.c b/src/unistd/getppid.c index 99504aa5..bb109b7e 100644 --- a/src/unistd/getppid.c +++ b/src/unistd/getppid.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include "_syscall.h" @@ -8,3 +10,6 @@ pid_t getppid(void) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/getsid.c b/src/unistd/getsid.c index 671b19ec..2cc44328 100644 --- a/src/unistd/getsid.c +++ b/src/unistd/getsid.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> pid_t getsid(pid_t pid) @@ -9,3 +11,6 @@ pid_t getsid(pid_t pid) XOPEN(400) POSIX(200809) */ + + +#endif diff --git a/src/unistd/getuid.c b/src/unistd/getuid.c index bf646dd6..9ca2150c 100644 --- a/src/unistd/getuid.c +++ b/src/unistd/getuid.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include "_syscall.h" @@ -8,3 +10,6 @@ uid_t getuid(void) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/getwd.c b/src/unistd/getwd.c index 2d8b68a7..819f87f7 100644 --- a/src/unistd/getwd.c +++ b/src/unistd/getwd.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> char *getwd(char *path_name) @@ -8,3 +10,6 @@ char *getwd(char *path_name) /* XOPEN(400,700) */ + + +#endif diff --git a/src/unistd/isatty.c b/src/unistd/isatty.c index f544d8d6..8b8b21c0 100644 --- a/src/unistd/isatty.c +++ b/src/unistd/isatty.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> #include <termios.h> @@ -28,3 +30,6 @@ RETURN(ZERO, ARGUMENT(fildes) is not a terminal) RETURN(ONE, ARGUMENT(fildes) is a terminal device) POSIX(1) */ + + +#endif diff --git a/src/unistd/lchown.c b/src/unistd/lchown.c index e59adc9a..8ab8876f 100644 --- a/src/unistd/lchown.c +++ b/src/unistd/lchown.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int lchown(const char *path, uid_t owner, gid_t group) @@ -9,3 +11,6 @@ int lchown(const char *path, uid_t owner, gid_t group) XOPEN(400) POSIX(200809) */ + + +#endif diff --git a/src/unistd/link.c b/src/unistd/link.c index dd94f497..16a18006 100644 --- a/src/unistd/link.c +++ b/src/unistd/link.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> #include "_syscall.h" @@ -9,3 +11,6 @@ int link(const char *path1, const char *path2) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/lockf.c b/src/unistd/lockf.c index 8da34e18..f2a8b968 100644 --- a/src/unistd/lockf.c +++ b/src/unistd/lockf.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int lockf(int fildes, int function, off_t size) @@ -8,3 +10,6 @@ int lockf(int fildes, int function, off_t size) /* XOPEN(400) */ + + +#endif diff --git a/src/unistd/lseek.c b/src/unistd/lseek.c index a5d30931..8f0ee4cd 100644 --- a/src/unistd/lseek.c +++ b/src/unistd/lseek.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> #include "_syscall.h" @@ -9,3 +11,6 @@ off_t lseek(int fildes, off_t offset, int whence) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/nice.c b/src/unistd/nice.c index b406860c..4b5b8899 100644 --- a/src/unistd/nice.c +++ b/src/unistd/nice.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int nice(int incr) @@ -8,3 +10,6 @@ int nice(int incr) /* XOPEN(4) */ + + +#endif diff --git a/src/unistd/optarg.c b/src/unistd/optarg.c index 07b6c465..45c2ede0 100644 --- a/src/unistd/optarg.c +++ b/src/unistd/optarg.c @@ -1,5 +1,10 @@ +#if 0 + char * optarg; /* POSIX(2) */ + + +#endif diff --git a/src/unistd/opterr.c b/src/unistd/opterr.c index 57cc476d..74379f64 100644 --- a/src/unistd/opterr.c +++ b/src/unistd/opterr.c @@ -1,5 +1,10 @@ +#if 0 + int opterr; /* POSIX(2) */ + + +#endif diff --git a/src/unistd/optind.c b/src/unistd/optind.c index a3438432..293d6d5f 100644 --- a/src/unistd/optind.c +++ b/src/unistd/optind.c @@ -1,5 +1,10 @@ +#if 0 + int optind; /* POSIX(2) */ + + +#endif diff --git a/src/unistd/optopt.c b/src/unistd/optopt.c index cff25ef2..e922508e 100644 --- a/src/unistd/optopt.c +++ b/src/unistd/optopt.c @@ -1,5 +1,10 @@ +#if 0 + int optopt; /* POSIX(2) */ + + +#endif diff --git a/src/unistd/pathconf.c b/src/unistd/pathconf.c index c36b6f79..c6bdb2b2 100644 --- a/src/unistd/pathconf.c +++ b/src/unistd/pathconf.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> @@ -9,3 +11,6 @@ long pathconf(const char *path, int name) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/pause.c b/src/unistd/pause.c index b1ece40e..b7dc359b 100644 --- a/src/unistd/pause.c +++ b/src/unistd/pause.c @@ -1,3 +1,5 @@ +#if 0 + #include "_syscall.h" int pause(void) @@ -7,3 +9,6 @@ int pause(void) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/pipe.c b/src/unistd/pipe.c index df72e548..8c8c5295 100644 --- a/src/unistd/pipe.c +++ b/src/unistd/pipe.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> #include "_assert.h" @@ -11,3 +13,6 @@ int pipe(int fildes[2]) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/read.c b/src/unistd/read.c index bb48e4f3..660bc274 100644 --- a/src/unistd/read.c +++ b/src/unistd/read.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include "_syscall.h" @@ -8,3 +10,6 @@ ssize_t read(int fildes, void *buf, size_t nbyte) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/readlink.c b/src/unistd/readlink.c index 42d5e082..b1e4d090 100644 --- a/src/unistd/readlink.c +++ b/src/unistd/readlink.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> ssize_t readlink(const char * restrict path, char * restrict buf, size_t bufsize) @@ -9,3 +11,6 @@ ssize_t readlink(const char * restrict path, char * restrict buf, size_t bufsize XOPEN(400) POSIX(200112) */ + + +#endif diff --git a/src/unistd/rmdir.c b/src/unistd/rmdir.c index c2137acd..e9bfb849 100644 --- a/src/unistd/rmdir.c +++ b/src/unistd/rmdir.c @@ -1,3 +1,5 @@ +#if 0 + #include "_syscall.h" int rmdir(const char *path) @@ -7,3 +9,6 @@ int rmdir(const char *path) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/sbrk.c b/src/unistd/sbrk.c index 69f88cf2..e11a8867 100644 --- a/src/unistd/sbrk.c +++ b/src/unistd/sbrk.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> void *sbrk(int incr) @@ -8,3 +10,6 @@ void *sbrk(int incr) /* XOPEN(400,600) */ + + +#endif diff --git a/src/unistd/setgid.c b/src/unistd/setgid.c index 0cc74a2e..8ce2192f 100644 --- a/src/unistd/setgid.c +++ b/src/unistd/setgid.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include "_syscall.h" @@ -8,3 +10,6 @@ int setgid(gid_t gid) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/setpgid.c b/src/unistd/setpgid.c index 681af1bb..622f03f8 100644 --- a/src/unistd/setpgid.c +++ b/src/unistd/setpgid.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include "_syscall.h" @@ -8,3 +10,6 @@ int setpgid(pid_t pid, pid_t pgid) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/setpgrp.c b/src/unistd/setpgrp.c index c36d78b4..06f0e452 100644 --- a/src/unistd/setpgrp.c +++ b/src/unistd/setpgrp.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> pid_t setpgrp(void) @@ -8,3 +10,6 @@ pid_t setpgrp(void) /* XOPEN(400) */ + + +#endif diff --git a/src/unistd/setregid.c b/src/unistd/setregid.c index bdd92f92..cabcc24c 100644 --- a/src/unistd/setregid.c +++ b/src/unistd/setregid.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int setregid(gid_t rgid, gid_t egid) @@ -8,3 +10,6 @@ int setregid(gid_t rgid, gid_t egid) /* XOPEN(400) */ + + +#endif diff --git a/src/unistd/setreuid.c b/src/unistd/setreuid.c index 97550ec7..b76b8bcc 100644 --- a/src/unistd/setreuid.c +++ b/src/unistd/setreuid.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int setreuid(uid_t ruid, uid_t euid) @@ -8,3 +10,6 @@ int setreuid(uid_t ruid, uid_t euid) /* XOPEN(400) */ + + +#endif diff --git a/src/unistd/setsid.c b/src/unistd/setsid.c index 83edc78e..b061a23a 100644 --- a/src/unistd/setsid.c +++ b/src/unistd/setsid.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include "_syscall.h" @@ -8,3 +10,6 @@ pid_t setsid(void) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/setuid.c b/src/unistd/setuid.c index ef104a3e..940a8eab 100644 --- a/src/unistd/setuid.c +++ b/src/unistd/setuid.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include "_syscall.h" @@ -8,3 +10,6 @@ int setuid(uid_t uid) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/sleep.c b/src/unistd/sleep.c index e1b38a0b..3cd2996f 100644 --- a/src/unistd/sleep.c +++ b/src/unistd/sleep.c @@ -1,3 +1,5 @@ +#if 0 + #if ((!defined _POSIX_C_SOURCE) || (_POSIX_C_SOURCE < 199309L)) #undef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 199309L /* force struct timespec */ @@ -22,3 +24,6 @@ unsigned sleep(unsigned seconds) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/swab.c b/src/unistd/swab.c index 7b735b1a..2f96e8c6 100644 --- a/src/unistd/swab.c +++ b/src/unistd/swab.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> void swab(const void * restrict src, void * restrict dest, ssize_t nbytes) @@ -7,3 +9,6 @@ void swab(const void * restrict src, void * restrict dest, ssize_t nbytes) /* XOPEN(4) */ + + +#endif diff --git a/src/unistd/symlink.c b/src/unistd/symlink.c index d78fb16a..8a7c1584 100644 --- a/src/unistd/symlink.c +++ b/src/unistd/symlink.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int symlink(const char*path1, const char *path2) @@ -9,3 +11,6 @@ int symlink(const char*path1, const char *path2) XOPEN(400) POSIX(200112) */ + + +#endif diff --git a/src/unistd/sync.c b/src/unistd/sync.c index 3f8650e4..dbe23fe9 100644 --- a/src/unistd/sync.c +++ b/src/unistd/sync.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> void sync(void) @@ -7,3 +9,6 @@ void sync(void) /* XOPEN(400) */ + + +#endif diff --git a/src/unistd/sysconf.c b/src/unistd/sysconf.c index ae8aa5a3..85141407 100644 --- a/src/unistd/sysconf.c +++ b/src/unistd/sysconf.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> @@ -8,3 +10,6 @@ long sysconf(int name) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/tcgetpgrp.c b/src/unistd/tcgetpgrp.c index f2924d5f..3808bd7f 100644 --- a/src/unistd/tcgetpgrp.c +++ b/src/unistd/tcgetpgrp.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> #include "termios/_termios.h" @@ -14,3 +16,6 @@ pid_t tcgetpgrp(int fildes) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/tcsetpgrp.c b/src/unistd/tcsetpgrp.c index 6e85e652..dab8b52e 100644 --- a/src/unistd/tcsetpgrp.c +++ b/src/unistd/tcsetpgrp.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> #include <termios/_termios.h> @@ -10,3 +12,6 @@ int tcsetpgrp(int fildes, pid_t pgid_id) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/truncate.c b/src/unistd/truncate.c index 578a4faf..1ede206b 100644 --- a/src/unistd/truncate.c +++ b/src/unistd/truncate.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int truncate(const char *path, off_t length) @@ -9,3 +11,6 @@ int truncate(const char *path, off_t length) XOPEN(400) POSIX(200809) */ + + +#endif diff --git a/src/unistd/ttyname.c b/src/unistd/ttyname.c index dfb560bc..be66ccc0 100644 --- a/src/unistd/ttyname.c +++ b/src/unistd/ttyname.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> #include <limits.h> @@ -28,3 +30,6 @@ char *ttyname(int fildes) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/ualarm.c b/src/unistd/ualarm.c index 5db13af6..dacb0eb1 100644 --- a/src/unistd/ualarm.c +++ b/src/unistd/ualarm.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> useconds_t ualarm(useconds_t useconds, useconds_t interval) @@ -7,3 +9,6 @@ useconds_t ualarm(useconds_t useconds, useconds_t interval) /* XOPEN(400,700) */ + + +#endif diff --git a/src/unistd/unlink.c b/src/unistd/unlink.c index 11153c5e..64f234bb 100644 --- a/src/unistd/unlink.c +++ b/src/unistd/unlink.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> #include "_assert.h" @@ -11,3 +13,6 @@ int unlink(const char *path) /* POSIX(1) */ + + +#endif diff --git a/src/unistd/usleep.c b/src/unistd/usleep.c index 947a446f..7f24e043 100644 --- a/src/unistd/usleep.c +++ b/src/unistd/usleep.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> int usleep(useconds_t useconds) @@ -7,3 +9,6 @@ int usleep(useconds_t useconds) /* XOPEN(400,700) */ + + +#endif diff --git a/src/unistd/vfork.c b/src/unistd/vfork.c index f0acd5d5..523bb178 100644 --- a/src/unistd/vfork.c +++ b/src/unistd/vfork.c @@ -1,3 +1,5 @@ +#if 0 + #include <unistd.h> pid_t vfork(void) @@ -8,3 +10,6 @@ pid_t vfork(void) /* XOPEN(400,700) */ + + +#endif diff --git a/src/unistd/write.c b/src/unistd/write.c index d893c288..27a17aca 100644 --- a/src/unistd/write.c +++ b/src/unistd/write.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <unistd.h> #include "_assert.h" @@ -13,3 +15,6 @@ ssize_t write(int fildes, const void *buf, size_t nbyte) /* POSIX(1) */ + + +#endif diff --git a/src/utime/struct_utimbuf.c b/src/utime/struct_utimbuf.c index 6fd37261..8a2a3b90 100644 --- a/src/utime/struct_utimbuf.c +++ b/src/utime/struct_utimbuf.c @@ -1,3 +1,5 @@ +#if 0 + #include <utime.h> struct utimbuf { @@ -8,3 +10,6 @@ struct utimbuf { /* POSIX(1) */ + + +#endif diff --git a/src/utime/utime.c b/src/utime/utime.c index f79fcfa9..d7972d7a 100644 --- a/src/utime/utime.c +++ b/src/utime/utime.c @@ -1,3 +1,5 @@ +#if 0 + #include <time.h> #include <utime.h> #include "_syscall.h" @@ -9,3 +11,6 @@ int utime(const char *path, const struct utimbuf *times) /* POSIX(1) */ + + +#endif diff --git a/src/utmpx/endutxent.c b/src/utmpx/endutxent.c index f35dda04..2132beda 100644 --- a/src/utmpx/endutxent.c +++ b/src/utmpx/endutxent.c @@ -1,3 +1,5 @@ +#if 0 + #include <utmpx.h> void endutxent(void) @@ -7,3 +9,6 @@ void endutxent(void) /* XOPEN(400) */ + + +#endif diff --git a/src/utmpx/getutxent.c b/src/utmpx/getutxent.c index 815b735f..10fbb35d 100644 --- a/src/utmpx/getutxent.c +++ b/src/utmpx/getutxent.c @@ -1,3 +1,5 @@ +#if 0 + #include <utmpx.h> #include <stddef.h> @@ -9,3 +11,6 @@ struct utmpx * getutxent(void) /* XOPEN(400) */ + + +#endif diff --git a/src/utmpx/getutxid.c b/src/utmpx/getutxid.c index 9a7690a1..7177931c 100644 --- a/src/utmpx/getutxid.c +++ b/src/utmpx/getutxid.c @@ -1,3 +1,5 @@ +#if 0 + #include <utmpx.h> #include <stddef.h> @@ -9,3 +11,6 @@ struct utmpx * getutxid(const struct utmpx *id) /* XOPEN(400) */ + + +#endif diff --git a/src/utmpx/getutxline.c b/src/utmpx/getutxline.c index ceed9b1e..ef420f5c 100644 --- a/src/utmpx/getutxline.c +++ b/src/utmpx/getutxline.c @@ -1,3 +1,5 @@ +#if 0 + #include <utmpx.h> #include <stddef.h> @@ -9,3 +11,6 @@ struct utmpx * getutxline(const struct utmpx *line) /* XOPEN(400) */ + + +#endif diff --git a/src/utmpx/pututxline.c b/src/utmpx/pututxline.c index 43e5ecc7..5dcf31d2 100644 --- a/src/utmpx/pututxline.c +++ b/src/utmpx/pututxline.c @@ -1,3 +1,5 @@ +#if 0 + #include <utmpx.h> #include <stddef.h> @@ -9,3 +11,6 @@ struct utmpx * pututxline(const struct utmpx *utmpx) /* XOPEN(400) */ + + +#endif diff --git a/src/utmpx/setutxent.c b/src/utmpx/setutxent.c index 405d77cc..4908065b 100644 --- a/src/utmpx/setutxent.c +++ b/src/utmpx/setutxent.c @@ -1,3 +1,5 @@ +#if 0 + #include <utmpx.h> void setutxent(void) @@ -7,3 +9,6 @@ void setutxent(void) /* XOPEN(400) */ + + +#endif diff --git a/src/wchar/btowc.c b/src/wchar/btowc.c index 5dee422d..aa23463a 100644 --- a/src/wchar/btowc.c +++ b/src/wchar/btowc.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <locale.h> #include <string.h> @@ -19,3 +21,6 @@ wint_t btowc(int c) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/fgetwc.c b/src/wchar/fgetwc.c index 04cc2781..593c121a 100644 --- a/src/wchar/fgetwc.c +++ b/src/wchar/fgetwc.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdio.h> #include <limits.h> @@ -32,3 +34,6 @@ wint_t fgetwc(FILE * stream) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/fgetws.c b/src/wchar/fgetws.c index a7210445..69990116 100644 --- a/src/wchar/fgetws.c +++ b/src/wchar/fgetws.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdio.h> #include "_assert.h" @@ -35,3 +37,6 @@ wchar_t * fgetws(wchar_t * restrict s, int n, FILE * restrict stream) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/fputwc.c b/src/wchar/fputwc.c index 056ff472..07855cc1 100644 --- a/src/wchar/fputwc.c +++ b/src/wchar/fputwc.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdio.h> #include <limits.h> @@ -37,3 +39,6 @@ wint_t fputwc(wchar_t c, FILE * stream) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/fputws.c b/src/wchar/fputws.c index 1151e76b..3bb8e8d8 100644 --- a/src/wchar/fputws.c +++ b/src/wchar/fputws.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdio.h> @@ -16,3 +18,6 @@ int fputws(const wchar_t * restrict s, FILE * restrict stream) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/fwide.c b/src/wchar/fwide.c index 30699836..372a811f 100644 --- a/src/wchar/fwide.c +++ b/src/wchar/fwide.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdio.h> #include "stdio/_stdio.h" @@ -16,3 +18,6 @@ int fwide(FILE * stream, int mode) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/fwprintf.c b/src/wchar/fwprintf.c index 308f4fa0..ddcf4fe7 100644 --- a/src/wchar/fwprintf.c +++ b/src/wchar/fwprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdio.h> #include <stdarg.h> @@ -14,3 +16,6 @@ int fwprintf(FILE * restrict stream, const wchar_t * restrict format, ...) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/fwprintf_s.c b/src/wchar/fwprintf_s.c index a88ef2c8..ae271c2d 100644 --- a/src/wchar/fwprintf_s.c +++ b/src/wchar/fwprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <wchar.h> @@ -14,3 +16,6 @@ int fwprintf_s(FILE * restrict stream, const wchar_t * restrict format, ...) /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/fwscanf.c b/src/wchar/fwscanf.c index 1c0f61ad..229b70f4 100644 --- a/src/wchar/fwscanf.c +++ b/src/wchar/fwscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdio.h> #include <stdarg.h> @@ -19,3 +21,6 @@ int fwscanf(FILE * restrict stream, const wchar_t * restrict format, ...) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/fwscanf_s.c b/src/wchar/fwscanf_s.c index a55c9d76..7188f3cf 100644 --- a/src/wchar/fwscanf_s.c +++ b/src/wchar/fwscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <wchar.h> @@ -14,3 +16,6 @@ int fwscanf_s(FILE * restrict stream, const wchar_t * restrict format, ...) /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/getwc.c b/src/wchar/getwc.c index 9ee36186..173f4c36 100644 --- a/src/wchar/getwc.c +++ b/src/wchar/getwc.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdio.h> @@ -9,3 +11,6 @@ wint_t getwc(FILE * stream) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/getwchar.c b/src/wchar/getwchar.c index 2b0d54ce..4e9105f9 100644 --- a/src/wchar/getwchar.c +++ b/src/wchar/getwchar.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdio.h> @@ -9,3 +11,6 @@ wint_t getwchar(void) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/mbrlen.c b/src/wchar/mbrlen.c index dd0af70b..8290e6ec 100644 --- a/src/wchar/mbrlen.c +++ b/src/wchar/mbrlen.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> size_t mbrlen(const char * restrict s, size_t n, mbstate_t * restrict ps) @@ -9,3 +11,6 @@ size_t mbrlen(const char * restrict s, size_t n, mbstate_t * restrict ps) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/mbrtowc.c b/src/wchar/mbrtowc.c index f6795d7f..647b5e98 100644 --- a/src/wchar/mbrtowc.c +++ b/src/wchar/mbrtowc.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> size_t mbrtowc(wchar_t * restrict pwc, const char * restrict s, size_t n, mbstate_t * restrict ps) @@ -17,3 +19,6 @@ size_t mbrtowc(wchar_t * restrict pwc, const char * restrict s, size_t n, mbstat /* STDC(199409) */ + + +#endif diff --git a/src/wchar/mbsinit.c b/src/wchar/mbsinit.c index f3d7b44f..590ce2e6 100644 --- a/src/wchar/mbsinit.c +++ b/src/wchar/mbsinit.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> int mbsinit(const mbstate_t * ps) @@ -12,3 +14,6 @@ int mbsinit(const mbstate_t * ps) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/mbsrtowcs.c b/src/wchar/mbsrtowcs.c index 12f5e6a1..dc8bde58 100644 --- a/src/wchar/mbsrtowcs.c +++ b/src/wchar/mbsrtowcs.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> size_t mbsrtowcs(wchar_t * restrict dst, const char * restrict src, size_t len, mbstate_t * restrict ps) @@ -9,3 +11,6 @@ size_t mbsrtowcs(wchar_t * restrict dst, const char * restrict src, size_t len, /* STDC(199409) */ + + +#endif diff --git a/src/wchar/mbsrtowcs_s.c b/src/wchar/mbsrtowcs_s.c index b4c64298..7284a0fe 100644 --- a/src/wchar/mbsrtowcs_s.c +++ b/src/wchar/mbsrtowcs_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> errno_t mbsrtowcs_s(size_t * restrict retval, @@ -11,3 +13,6 @@ errno_t mbsrtowcs_s(size_t * restrict retval, /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/putwc.c b/src/wchar/putwc.c index 10181319..87d58b04 100644 --- a/src/wchar/putwc.c +++ b/src/wchar/putwc.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdio.h> @@ -9,3 +11,6 @@ wint_t putwc(wchar_t c, FILE * stream) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/putwchar.c b/src/wchar/putwchar.c index 659f4dd7..386b6913 100644 --- a/src/wchar/putwchar.c +++ b/src/wchar/putwchar.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdio.h> @@ -9,3 +11,6 @@ wint_t putwchar(wchar_t c) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/snwprintf_s.c b/src/wchar/snwprintf_s.c index bd3a537d..402da30b 100644 --- a/src/wchar/snwprintf_s.c +++ b/src/wchar/snwprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> int snwprintf_s(wchar_t * restrict s, rsize_t n, const wchar_t * restrict format, ...) @@ -13,3 +15,6 @@ int snwprintf_s(wchar_t * restrict s, rsize_t n, const wchar_t * restrict format /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/swprintf.c b/src/wchar/swprintf.c index c9a6dcc6..a3aa6c45 100644 --- a/src/wchar/swprintf.c +++ b/src/wchar/swprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdarg.h> @@ -13,3 +15,6 @@ int swprintf(wchar_t * restrict s, size_t n, const wchar_t * restrict format, .. /* STDC(199409) */ + + +#endif diff --git a/src/wchar/swprintf_s.c b/src/wchar/swprintf_s.c index 4f5a4d82..abadca9e 100644 --- a/src/wchar/swprintf_s.c +++ b/src/wchar/swprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> int swprintf_s(wchar_t * restrict s, rsize_t n, const wchar_t * restrict format, @@ -14,3 +16,6 @@ int swprintf_s(wchar_t * restrict s, rsize_t n, const wchar_t * restrict format, /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/swscanf.c b/src/wchar/swscanf.c index dcb59728..8885a143 100644 --- a/src/wchar/swscanf.c +++ b/src/wchar/swscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <wchar.h> @@ -18,3 +20,6 @@ int swscanf(const wchar_t * restrict s, const wchar_t * restrict format, ...) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/swscanf_s.c b/src/wchar/swscanf_s.c index e00b3e4c..754650a4 100644 --- a/src/wchar/swscanf_s.c +++ b/src/wchar/swscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> int swscanf_s(const wchar_t * restrict s, const wchar_t * restrict format, ...) @@ -13,3 +15,6 @@ int swscanf_s(const wchar_t * restrict s, const wchar_t * restrict format, ...) /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/ungetwc.c b/src/wchar/ungetwc.c index 72f1fc21..028de61a 100644 --- a/src/wchar/ungetwc.c +++ b/src/wchar/ungetwc.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdio.h> @@ -10,3 +12,6 @@ wint_t ungetwc(wint_t c, FILE * stream) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/vfwprintf.c b/src/wchar/vfwprintf.c index 4813934e..d9cf9b8e 100644 --- a/src/wchar/vfwprintf.c +++ b/src/wchar/vfwprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdio.h> #include <stdarg.h> @@ -17,3 +19,6 @@ int vfwprintf(FILE * restrict stream, const wchar_t * restrict format, va_list a /* STDC(199409) */ + + +#endif diff --git a/src/wchar/vfwprintf_s.c b/src/wchar/vfwprintf_s.c index cc72f88b..61a5358c 100644 --- a/src/wchar/vfwprintf_s.c +++ b/src/wchar/vfwprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <wchar.h> @@ -13,3 +15,6 @@ int vfwprintf_s(FILE * restrict stream, const wchar_t * restrict format, va_list /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/vfwscanf.c b/src/wchar/vfwscanf.c index bc3f6e8c..b86b531b 100644 --- a/src/wchar/vfwscanf.c +++ b/src/wchar/vfwscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <wchar.h> #include "stdio/_stdio.h" @@ -19,3 +21,6 @@ int vfwscanf(FILE * restrict stream, const wchar_t * restrict format, va_list ar /* STDC(199901) */ + + +#endif diff --git a/src/wchar/vfwscanf_s.c b/src/wchar/vfwscanf_s.c index ea6103ea..d9b6f147 100644 --- a/src/wchar/vfwscanf_s.c +++ b/src/wchar/vfwscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <wchar.h> @@ -10,3 +12,6 @@ int vfwscanf_s(FILE * restrict stream, const wchar_t * restrict format, va_list /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/vsnwprintf_s.c b/src/wchar/vsnwprintf_s.c index 103cd1ee..56c69cc7 100644 --- a/src/wchar/vsnwprintf_s.c +++ b/src/wchar/vsnwprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + int vsnwprintf_s(whcar_t * restrict s, rsize_t n, const wchar_t * restrict format, va_list arg) { __C_EXT(1, 201112L); @@ -7,3 +9,6 @@ int vsnwprintf_s(whcar_t * restrict s, rsize_t n, const wchar_t * restrict forma /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/vswprintf.c b/src/wchar/vswprintf.c index 429e0a53..34d23296 100644 --- a/src/wchar/vswprintf.c +++ b/src/wchar/vswprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <wchar.h> #include "stdio/_stdio.h" @@ -16,3 +18,6 @@ int vswprintf(wchar_t * restrict s, size_t n, const wchar_t * restrict format, v /* STDC(199409) */ + + +#endif diff --git a/src/wchar/vswprintf_s.c b/src/wchar/vswprintf_s.c index e6e9559e..c789b448 100644 --- a/src/wchar/vswprintf_s.c +++ b/src/wchar/vswprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdarg.h> @@ -10,3 +12,6 @@ int vswprintf_s(wchar_t * restrict s, rsize_t n, const wchar_t * restrict format /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/vswscanf.c b/src/wchar/vswscanf.c index 0ecd61e9..a6574e9b 100644 --- a/src/wchar/vswscanf.c +++ b/src/wchar/vswscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include "stdio/_stdio.h" @@ -18,3 +20,6 @@ int vswscanf(const wchar_t * restrict s, const wchar_t * restrict format, va_lis /* STDC(199901) */ + + +#endif diff --git a/src/wchar/vswscanf_s.c b/src/wchar/vswscanf_s.c index da89ce48..3b2dd6a4 100644 --- a/src/wchar/vswscanf_s.c +++ b/src/wchar/vswscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdarg.h> @@ -13,3 +15,6 @@ int vswscanf_s(const wchar_t * restrict s, const wchar_t * restrict format, va_l /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/vwprintf.c b/src/wchar/vwprintf.c index a4bfadcb..d3a42e72 100644 --- a/src/wchar/vwprintf.c +++ b/src/wchar/vwprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdio.h> @@ -9,3 +11,6 @@ int vwprintf(const wchar_t * restrict format, va_list arg) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/vwprintf_s.c b/src/wchar/vwprintf_s.c index 25b73a48..a67c9239 100644 --- a/src/wchar/vwprintf_s.c +++ b/src/wchar/vwprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdarg.h> @@ -10,3 +12,6 @@ int vwprintf_s(const wchar_t * restrict format, va_list arg) /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/vwscanf.c b/src/wchar/vwscanf.c index 66c501f7..8278e820 100644 --- a/src/wchar/vwscanf.c +++ b/src/wchar/vwscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdarg.h> #include <stdio.h> @@ -10,3 +12,6 @@ int vwscanf(const wchar_t * restrict format, va_list arg) /* STDC(199901) */ + + +#endif diff --git a/src/wchar/vwscanf_s.c b/src/wchar/vwscanf_s.c index 7fd6f2f5..d795ce96 100644 --- a/src/wchar/vwscanf_s.c +++ b/src/wchar/vwscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdarg.h> @@ -10,3 +12,6 @@ int vwscanf_s(const wchar_t * restrict format, va_list arg) /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/wcrtomb.c b/src/wchar/wcrtomb.c index cc8db136..bfad86ef 100644 --- a/src/wchar/wcrtomb.c +++ b/src/wchar/wcrtomb.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <limits.h> @@ -17,3 +19,6 @@ size_t wcrtomb(char * restrict s, wchar_t wc, mbstate_t * restrict ps) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcrtomb_s.c b/src/wchar/wcrtomb_s.c index 12ea273e..898da3fd 100644 --- a/src/wchar/wcrtomb_s.c +++ b/src/wchar/wcrtomb_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> errno_t wcrtomb_s(size_t * restrict retval, char * restrict s, rsize_t smax, @@ -9,3 +11,6 @@ errno_t wcrtomb_s(size_t * restrict retval, char * restrict s, rsize_t smax, /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/wcscat.c b/src/wchar/wcscat.c index 8ffec24f..24fb008c 100644 --- a/src/wchar/wcscat.c +++ b/src/wchar/wcscat.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> wchar_t * wcscat(wchar_t * restrict s1, const wchar_t * restrict s2) @@ -9,3 +11,6 @@ wchar_t * wcscat(wchar_t * restrict s1, const wchar_t * restrict s2) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcscat_s.c b/src/wchar/wcscat_s.c index 75d7b779..b762d219 100644 --- a/src/wchar/wcscat_s.c +++ b/src/wchar/wcscat_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> errno_t wcscat_s(wchar_t * restrict s1, rsize_t s1max, const wchar_t * restrict s2) @@ -8,3 +10,6 @@ errno_t wcscat_s(wchar_t * restrict s1, rsize_t s1max, const wchar_t * restrict /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/wcschr.c b/src/wchar/wcschr.c index cc206ed8..2a23d8b6 100644 --- a/src/wchar/wcschr.c +++ b/src/wchar/wcschr.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> wchar_t * wcschr(const wchar_t * s, wchar_t c) @@ -15,3 +17,6 @@ wchar_t * wcschr(const wchar_t * s, wchar_t c) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcscmp.c b/src/wchar/wcscmp.c index 25508509..01d282fc 100644 --- a/src/wchar/wcscmp.c +++ b/src/wchar/wcscmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include "_assert.h" @@ -23,3 +25,6 @@ int wcscmp(const wchar_t * s1, const wchar_t * s2) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcscoll.c b/src/wchar/wcscoll.c index 097a2cc4..83fd39e8 100644 --- a/src/wchar/wcscoll.c +++ b/src/wchar/wcscoll.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> int wcscoll(const wchar_t * s1, const wchar_t * s2) @@ -13,3 +15,6 @@ int wcscoll(const wchar_t * s1, const wchar_t * s2) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcscpy.c b/src/wchar/wcscpy.c index 2f92bc3f..cc1985a9 100644 --- a/src/wchar/wcscpy.c +++ b/src/wchar/wcscpy.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> wchar_t * wcscpy(wchar_t * restrict s1, const wchar_t * restrict s2) @@ -8,3 +10,6 @@ wchar_t * wcscpy(wchar_t * restrict s1, const wchar_t * restrict s2) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcscpy_s.c b/src/wchar/wcscpy_s.c index c7ce17c0..f3c9206d 100644 --- a/src/wchar/wcscpy_s.c +++ b/src/wchar/wcscpy_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> errno_t wcscpy_s(wchar_t * restrict s1, rsize_t s1max, const wchar_t * restrict s2) @@ -8,3 +10,6 @@ errno_t wcscpy_s(wchar_t * restrict s1, rsize_t s1max, const wchar_t * restrict /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/wcscspn.c b/src/wchar/wcscspn.c index 0586bf2f..5c063a47 100644 --- a/src/wchar/wcscspn.c +++ b/src/wchar/wcscspn.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include "_assert.h" @@ -19,3 +21,6 @@ size_t wcscspn(const wchar_t * s1, const wchar_t * s2) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcsftime.c b/src/wchar/wcsftime.c index ddca082d..398d8c55 100644 --- a/src/wchar/wcsftime.c +++ b/src/wchar/wcsftime.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> size_t wcsftime(wchar_t * restrict s, size_t maxsize, const wchar_t * restrict format, const struct tm * restrict timeptr) @@ -9,3 +11,6 @@ size_t wcsftime(wchar_t * restrict s, size_t maxsize, const wchar_t * restrict f /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcslen.c b/src/wchar/wcslen.c index 5b4ec7be..ca04fa0a 100644 --- a/src/wchar/wcslen.c +++ b/src/wchar/wcslen.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> size_t wcslen(const wchar_t * s) @@ -12,3 +14,6 @@ size_t wcslen(const wchar_t * s) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcsncat.c b/src/wchar/wcsncat.c index 8dccba65..f2085747 100644 --- a/src/wchar/wcsncat.c +++ b/src/wchar/wcsncat.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> wchar_t * wcsncat(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n) @@ -10,3 +12,6 @@ wchar_t * wcsncat(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcsncat_s.c b/src/wchar/wcsncat_s.c index aaae45cf..93cdbf10 100644 --- a/src/wchar/wcsncat_s.c +++ b/src/wchar/wcsncat_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> errno_t wcsncat_s(wchar_t * restrict s1, rsize_t s1max, const wchar_t * restrict s2, rsize_t n) @@ -8,3 +10,6 @@ errno_t wcsncat_s(wchar_t * restrict s1, rsize_t s1max, const wchar_t * restrict /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/wcsncmp.c b/src/wchar/wcsncmp.c index f5c56c28..14efdb51 100644 --- a/src/wchar/wcsncmp.c +++ b/src/wchar/wcsncmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include "_assert.h" @@ -22,3 +24,6 @@ int wcsncmp(const wchar_t * s1, const wchar_t * s2, size_t n) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcsncpy.c b/src/wchar/wcsncpy.c index ebae8133..4a33779a 100644 --- a/src/wchar/wcsncpy.c +++ b/src/wchar/wcsncpy.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> wchar_t * wcsncpy(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n) @@ -16,3 +18,6 @@ wchar_t * wcsncpy(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcsncpy_s.c b/src/wchar/wcsncpy_s.c index 9bcf6906..9748a65b 100644 --- a/src/wchar/wcsncpy_s.c +++ b/src/wchar/wcsncpy_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> errno_t wcsncpy_s(wchar_t * restrict s1, rsize_t s1max, const wchar_t * restrict s2, rsize_t n) @@ -8,3 +10,6 @@ errno_t wcsncpy_s(wchar_t * restrict s1, rsize_t s1max, const wchar_t * restrict /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/wcsnlen_s.c b/src/wchar/wcsnlen_s.c index 012c4459..d42fa1fb 100644 --- a/src/wchar/wcsnlen_s.c +++ b/src/wchar/wcsnlen_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> size_t wcsnlen_s( const wchar_t *ws, size_t maxlen) @@ -9,3 +11,6 @@ size_t wcsnlen_s( const wchar_t *ws, size_t maxlen) /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/wcspbrk.c b/src/wchar/wcspbrk.c index d1553fd1..155bbdf5 100644 --- a/src/wchar/wcspbrk.c +++ b/src/wchar/wcspbrk.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> wchar_t * wcspbrk(const wchar_t * s1, const wchar_t * s2) @@ -15,3 +17,6 @@ wchar_t * wcspbrk(const wchar_t * s1, const wchar_t * s2) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcsrchr.c b/src/wchar/wcsrchr.c index 291dc6f4..7d9e9a50 100644 --- a/src/wchar/wcsrchr.c +++ b/src/wchar/wcsrchr.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> wchar_t * wcsrchr(const wchar_t * s, wchar_t c) @@ -15,3 +17,6 @@ wchar_t * wcsrchr(const wchar_t * s, wchar_t c) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcsrtombs.c b/src/wchar/wcsrtombs.c index 8df0bedf..b51b3a8b 100644 --- a/src/wchar/wcsrtombs.c +++ b/src/wchar/wcsrtombs.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> size_t wcsrtombs(char * restrict dst, const wchar_t ** restrict src, size_t len, mbstate_t * restrict ps) @@ -9,3 +11,6 @@ size_t wcsrtombs(char * restrict dst, const wchar_t ** restrict src, size_t len, /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcsrtombs_s.c b/src/wchar/wcsrtombs_s.c index b8c2399a..5ae76e42 100644 --- a/src/wchar/wcsrtombs_s.c +++ b/src/wchar/wcsrtombs_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> errno_t wcsrtombs_s(size_t * restrict retval, @@ -11,3 +13,6 @@ errno_t wcsrtombs_s(size_t * restrict retval, /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/wcsspn.c b/src/wchar/wcsspn.c index 50cd0e02..162c141b 100644 --- a/src/wchar/wcsspn.c +++ b/src/wchar/wcsspn.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> size_t wcsspn(const wchar_t * s1, const wchar_t * s2) @@ -15,3 +17,6 @@ size_t wcsspn(const wchar_t * s1, const wchar_t * s2) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcsstr.c b/src/wchar/wcsstr.c index 22cf9fa7..12bc2cfd 100644 --- a/src/wchar/wcsstr.c +++ b/src/wchar/wcsstr.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> wchar_t * wcsstr(const wchar_t * s1, const wchar_t * s2) @@ -9,3 +11,6 @@ wchar_t * wcsstr(const wchar_t * s1, const wchar_t * s2) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcstod.c b/src/wchar/wcstod.c index d8eeef74..f0e0cbc8 100644 --- a/src/wchar/wcstod.c +++ b/src/wchar/wcstod.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> double wcstod(const wchar_t * restrict nptr, wchar_t ** restrict endptr) @@ -9,3 +11,6 @@ double wcstod(const wchar_t * restrict nptr, wchar_t ** restrict endptr) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcstof.c b/src/wchar/wcstof.c index 75aafbbf..b6784dd9 100644 --- a/src/wchar/wcstof.c +++ b/src/wchar/wcstof.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> float wcstof(const wchar_t * restrict nptr, wchar_t ** restrict endptr) @@ -9,3 +11,6 @@ float wcstof(const wchar_t * restrict nptr, wchar_t ** restrict endptr) /* STDC(199901) */ + + +#endif diff --git a/src/wchar/wcstok.c b/src/wchar/wcstok.c index 0c40f5d9..83841c1d 100644 --- a/src/wchar/wcstok.c +++ b/src/wchar/wcstok.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> wchar_t * wcstok(wchar_t * restrict s1, const wchar_t * restrict s2, wchar_t ** restrict ptr) @@ -9,3 +11,6 @@ wchar_t * wcstok(wchar_t * restrict s1, const wchar_t * restrict s2, wchar_t ** /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcstok_s.c b/src/wchar/wcstok_s.c index 69d176ae..b9418e7c 100644 --- a/src/wchar/wcstok_s.c +++ b/src/wchar/wcstok_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> wchar_t *wcstok_s(wchar_t * restrict s1, rsize_t * restrict s1max, @@ -9,3 +11,6 @@ wchar_t *wcstok_s(wchar_t * restrict s1, rsize_t * restrict s1max, /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/wcstol.c b/src/wchar/wcstol.c index 97741a3d..256b0fee 100644 --- a/src/wchar/wcstol.c +++ b/src/wchar/wcstol.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <wctype.h> #include <limits.h> @@ -19,3 +21,6 @@ long int wcstol(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int b /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcstold.c b/src/wchar/wcstold.c index b105606f..4f717147 100644 --- a/src/wchar/wcstold.c +++ b/src/wchar/wcstold.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> long double wcstold(const wchar_t * restrict nptr, wchar_t ** restrict endptr) @@ -9,3 +11,6 @@ long double wcstold(const wchar_t * restrict nptr, wchar_t ** restrict endptr) /* STDC(199901) */ + + +#endif diff --git a/src/wchar/wcstoll.c b/src/wchar/wcstoll.c index e2c2c323..1cad9376 100644 --- a/src/wchar/wcstoll.c +++ b/src/wchar/wcstoll.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <limits.h> #include <errno.h> @@ -19,3 +21,6 @@ long long int wcstoll(const wchar_t * restrict nptr, wchar_t ** restrict endptr, /* STDC(199901) */ + + +#endif diff --git a/src/wchar/wcstoul.c b/src/wchar/wcstoul.c index 51b026c2..eef920c9 100644 --- a/src/wchar/wcstoul.c +++ b/src/wchar/wcstoul.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <wctype.h> #include <limits.h> @@ -19,3 +21,6 @@ unsigned long int wcstoul(const wchar_t * restrict nptr, wchar_t ** restrict end /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcstoull.c b/src/wchar/wcstoull.c index 23cfcb2f..ef838036 100644 --- a/src/wchar/wcstoull.c +++ b/src/wchar/wcstoull.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <limits.h> #include <errno.h> @@ -19,3 +21,6 @@ unsigned long long int wcstoull(const wchar_t * restrict nptr, wchar_t ** restri /* STDC(199901) */ + + +#endif diff --git a/src/wchar/wcswcs.c b/src/wchar/wcswcs.c index 8f5df6f8..f9dcae5f 100644 --- a/src/wchar/wcswcs.c +++ b/src/wchar/wcswcs.c @@ -1,3 +1,5 @@ +#if 0 + #ifdef __STDC_VERSION__ #include <wchar.h> #else @@ -16,3 +18,6 @@ wchar_t * wcswcs(const wchar_t * s1, const wchar_t * s2) /* XOPEN(4,700) */ + + +#endif diff --git a/src/wchar/wcswidth.c b/src/wchar/wcswidth.c index 3f0ea728..c10bf4c7 100644 --- a/src/wchar/wcswidth.c +++ b/src/wchar/wcswidth.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include "wctype/wint_t.c" #include "wctype/wctrans_t.c" @@ -11,3 +13,6 @@ int wcswidth(const wchar_t * wcsptr, size_t n) XOPEN(4) NOTE: this portion is shaded WP in SUSv1 */ + + +#endif diff --git a/src/wchar/wcsxfrm.c b/src/wchar/wcsxfrm.c index acc87510..9982aa8d 100644 --- a/src/wchar/wcsxfrm.c +++ b/src/wchar/wcsxfrm.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> size_t wcsxfrm(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n) @@ -9,3 +11,6 @@ size_t wcsxfrm(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wctob.c b/src/wchar/wctob.c index 32cf1ab6..5608a672 100644 --- a/src/wchar/wctob.c +++ b/src/wchar/wctob.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <locale.h> #include <string.h> @@ -20,3 +22,6 @@ int wctob(wint_t c) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wcwidth.c b/src/wchar/wcwidth.c index 87e9d943..e562233c 100644 --- a/src/wchar/wcwidth.c +++ b/src/wchar/wcwidth.c @@ -1,3 +1,5 @@ +#if 0 + #include <stddef.h> #include "wctype/wint_t.c" #include "wctype/wctrans_t.c" @@ -11,3 +13,6 @@ int wcwidth(wchar_t wc) XOPEN(4) NOTE: this function is shaded "WP" in SUSv1 */ + + +#endif diff --git a/src/wchar/wmemchr.c b/src/wchar/wmemchr.c index f8939319..dcbf0d1d 100644 --- a/src/wchar/wmemchr.c +++ b/src/wchar/wmemchr.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include "_assert.h" @@ -19,3 +21,6 @@ wchar_t * wmemchr(const wchar_t * s, wchar_t c, size_t n) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wmemcmp.c b/src/wchar/wmemcmp.c index d3c2ce52..97be69fe 100644 --- a/src/wchar/wmemcmp.c +++ b/src/wchar/wmemcmp.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> int wmemcmp(const wchar_t * s1, const wchar_t * s2, size_t n) @@ -18,3 +20,6 @@ int wmemcmp(const wchar_t * s1, const wchar_t * s2, size_t n) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wmemcpy.c b/src/wchar/wmemcpy.c index 0b583011..f2e56ead 100644 --- a/src/wchar/wmemcpy.c +++ b/src/wchar/wmemcpy.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> wchar_t * wmemcpy(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n) @@ -12,3 +14,6 @@ wchar_t * wmemcpy(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wmemcpy_s.c b/src/wchar/wmemcpy_s.c index 348b4139..36b90e3c 100644 --- a/src/wchar/wmemcpy_s.c +++ b/src/wchar/wmemcpy_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> errno_t wmemcpy_s(wchar_t * restrict s1, rsize_t s1max, const wchar_t * restrict s2, rsize_t n) @@ -8,3 +10,6 @@ errno_t wmemcpy_s(wchar_t * restrict s1, rsize_t s1max, const wchar_t * restrict /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/wmemmove.c b/src/wchar/wmemmove.c index 5a67abe2..0c391377 100644 --- a/src/wchar/wmemmove.c +++ b/src/wchar/wmemmove.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdlib.h> #include "_assert.h" @@ -28,3 +30,6 @@ wchar_t * wmemmove(wchar_t * s1, const wchar_t * s2, size_t n) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wmemmove_s.c b/src/wchar/wmemmove_s.c index ca30a786..fb108314 100644 --- a/src/wchar/wmemmove_s.c +++ b/src/wchar/wmemmove_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> errno_t wmemmove_s(whcar_t *s1, rsize_t s1max, const wchar_t *s2, rsize_t n) @@ -8,3 +10,6 @@ errno_t wmemmove_s(whcar_t *s1, rsize_t s1max, const wchar_t *s2, rsize_t n) /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/wmemset.c b/src/wchar/wmemset.c index 9b6ebe6d..65245a77 100644 --- a/src/wchar/wmemset.c +++ b/src/wchar/wmemset.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> wchar_t * wmemset(wchar_t * s, wchar_t c, size_t n) @@ -12,3 +14,6 @@ wchar_t * wmemset(wchar_t * s, wchar_t c, size_t n) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wprintf.c b/src/wchar/wprintf.c index 1d35c1e0..fed68cc0 100644 --- a/src/wchar/wprintf.c +++ b/src/wchar/wprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdarg.h> @@ -13,3 +15,6 @@ int wprintf(const wchar_t * restrict format, ...) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wprintf_s.c b/src/wchar/wprintf_s.c index da910af9..45e97719 100644 --- a/src/wchar/wprintf_s.c +++ b/src/wchar/wprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> int wprintf_s(const wchar_t * restrict format, ...) @@ -13,3 +15,6 @@ int wprintf_s(const wchar_t * restrict format, ...) /* CEXT1(201112) */ + + +#endif diff --git a/src/wchar/wscanf.c b/src/wchar/wscanf.c index acd2a829..ae1362b7 100644 --- a/src/wchar/wscanf.c +++ b/src/wchar/wscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> #include <stdarg.h> @@ -17,3 +19,6 @@ int wscanf(const wchar_t * restrict format, ...) /* STDC(199409) */ + + +#endif diff --git a/src/wchar/wscanf_s.c b/src/wchar/wscanf_s.c index 8850d06f..6dfafc90 100644 --- a/src/wchar/wscanf_s.c +++ b/src/wchar/wscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <wchar.h> int wscanf_s(const wchar_t * restrict format, ...) @@ -13,3 +15,6 @@ int wscanf_s(const wchar_t * restrict format, ...) /* CEXT1(201112) */ + + +#endif diff --git a/src/wctype/iswalnum.c b/src/wctype/iswalnum.c index 13f9368d..94c67f95 100644 --- a/src/wctype/iswalnum.c +++ b/src/wctype/iswalnum.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <limits.h> #include <wchar.h> @@ -26,3 +28,6 @@ cclass(alpha) or cclass(digit) in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/iswalpha.c b/src/wctype/iswalpha.c index d5efc1c2..77df7103 100644 --- a/src/wctype/iswalpha.c +++ b/src/wctype/iswalpha.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <wchar.h> #include "_assert.h" @@ -26,3 +28,6 @@ cclass(alpha) in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/iswblank.c b/src/wctype/iswblank.c index 1709a7a6..568b126a 100644 --- a/src/wctype/iswblank.c +++ b/src/wctype/iswblank.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include "_assert.h" @@ -25,3 +27,6 @@ class cclass(blank) in the current locale. /* STDC(199901) */ + + +#endif diff --git a/src/wctype/iswcntrl.c b/src/wctype/iswcntrl.c index aee9ed51..a385e4e7 100644 --- a/src/wctype/iswcntrl.c +++ b/src/wctype/iswcntrl.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <wchar.h> #include "_assert.h" @@ -26,3 +28,6 @@ cclass(cntrl) in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/iswctype.c b/src/wctype/iswctype.c index acfde506..fcf84932 100644 --- a/src/wctype/iswctype.c +++ b/src/wctype/iswctype.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <wchar.h> #include "_assert.h" @@ -30,3 +32,6 @@ returned by fn(wctype), in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/iswdigit.c b/src/wctype/iswdigit.c index e96492bb..23fae1e3 100644 --- a/src/wctype/iswdigit.c +++ b/src/wctype/iswdigit.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <wchar.h> #include "_assert.h" @@ -26,3 +28,6 @@ cclass(digit) in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/iswgraph.c b/src/wctype/iswgraph.c index 2c07eab6..3175b232 100644 --- a/src/wctype/iswgraph.c +++ b/src/wctype/iswgraph.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <wchar.h> #include "_assert.h" @@ -26,3 +28,6 @@ cclass(graph) in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/iswlower.c b/src/wctype/iswlower.c index 9a174a4d..b5a9d90b 100644 --- a/src/wctype/iswlower.c +++ b/src/wctype/iswlower.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <wchar.h> #include "_assert.h" @@ -26,3 +28,6 @@ cclass(lower) in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/iswprint.c b/src/wctype/iswprint.c index 3d8c6682..5b797d47 100644 --- a/src/wctype/iswprint.c +++ b/src/wctype/iswprint.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <wchar.h> #include "_assert.h" @@ -26,3 +28,6 @@ cclass(print) in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/iswpunct.c b/src/wctype/iswpunct.c index 0b4a2d3a..a98792e9 100644 --- a/src/wctype/iswpunct.c +++ b/src/wctype/iswpunct.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <wchar.h> #include "_assert.h" @@ -26,3 +28,6 @@ cclass(punct) in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/iswspace.c b/src/wctype/iswspace.c index 8b1b3702..d3969043 100644 --- a/src/wctype/iswspace.c +++ b/src/wctype/iswspace.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <wchar.h> #include "_assert.h" @@ -26,3 +28,6 @@ cclass(space) in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/iswupper.c b/src/wctype/iswupper.c index 8578a863..b0c5cace 100644 --- a/src/wctype/iswupper.c +++ b/src/wctype/iswupper.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <wchar.h> #include "_assert.h" @@ -27,3 +29,6 @@ cclass(upper) in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/iswxdigit.c b/src/wctype/iswxdigit.c index 655372d0..540834c6 100644 --- a/src/wctype/iswxdigit.c +++ b/src/wctype/iswxdigit.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <wchar.h> #include "_assert.h" @@ -26,3 +28,6 @@ class cclass(xdigit) in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/towctrans.c b/src/wctype/towctrans.c index db35dee3..68ebcaf0 100644 --- a/src/wctype/towctrans.c +++ b/src/wctype/towctrans.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <wchar.h> #include "_assert.h" @@ -28,3 +30,6 @@ fn(wctrans), in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/towlower.c b/src/wctype/towlower.c index 46598cae..33714643 100644 --- a/src/wctype/towlower.c +++ b/src/wctype/towlower.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <wchar.h> #include <stdlib.h> @@ -31,3 +33,6 @@ lowercase letter in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/towupper.c b/src/wctype/towupper.c index 16e2334a..cb2b8096 100644 --- a/src/wctype/towupper.c +++ b/src/wctype/towupper.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <wchar.h> #include "_assert.h" @@ -30,3 +32,6 @@ uppercase letter in the current locale. /* STDC(199409) */ + + +#endif diff --git a/src/wctype/wctrans.c b/src/wctype/wctrans.c index 975a04cb..2dbd25fe 100644 --- a/src/wctype/wctrans.c +++ b/src/wctype/wctrans.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <string.h> #include "_assert.h" @@ -36,3 +38,6 @@ ctrans(toupper). /* STDC(199409) */ + + +#endif diff --git a/src/wctype/wctype.c b/src/wctype/wctype.c index 5c3acbfa..0a26bc4a 100644 --- a/src/wctype/wctype.c +++ b/src/wctype/wctype.c @@ -1,3 +1,5 @@ +#if 0 + #include <wctype.h> #include <string.h> #include "_assert.h" @@ -57,3 +59,6 @@ cclass(print), cclass(punct), cclass(space), cclass(upper), and cclass(xdigit). /* STDC(199409) */ + + +#endif diff --git a/src/wordexp/wordexp.c b/src/wordexp/wordexp.c index 428d0783..412449cb 100644 --- a/src/wordexp/wordexp.c +++ b/src/wordexp/wordexp.c @@ -1,3 +1,5 @@ +#if 0 + #include <wordexp.h> int wordexp(const char *restrict words, wordexp_t *restrict pwordexp, int flags) @@ -11,3 +13,6 @@ int wordexp(const char *restrict words, wordexp_t *restrict pwordexp, int flags) /* POSIX(2) */ + + +#endif diff --git a/src/wordexp/wordfree.c b/src/wordexp/wordfree.c index 0568f261..b8dfc8fa 100644 --- a/src/wordexp/wordfree.c +++ b/src/wordexp/wordfree.c @@ -1,3 +1,5 @@ +#if 0 + #include <wordexp.h> #include <stdlib.h> @@ -9,3 +11,6 @@ void wordfree(wordexp_t *pwordexp) /* POSIX(2) */ + + +#endif |