diff options
author | Enji Cooper <yaneurabeya@gmail.com> | 2018-12-10 08:29:12 -0800 |
---|---|---|
committer | ngie-eign <1574099+ngie-eign@users.noreply.github.com> | 2018-12-12 23:53:05 -0800 |
commit | 310c9eb6e6af321c7515b1fc59df73c2a5b7c084 (patch) | |
tree | 4af1d4ccb60ebc4829f920d2be18593a4aaf9dea | |
parent | c880cf021b888937285d7e6c12c36526f3df9b8b (diff) | |
download | ltp-310c9eb6e6af321c7515b1fc59df73c2a5b7c084.tar.gz |
Remove explicit #define's for `_POSIX_C_SOURCE` and `_XOPEN_SOURCE`
These are already set via CFLAGS; there's no need for all of the code
duplication.
Any and all orphan comments and/or `#ifndef WITHOUT_XOPEN` / `#endif`
blocks are removed as part of this commit.
`WITHOUT_XOPEN` will be removed in a subsequent commit.
732 files changed, 10 insertions, 1439 deletions
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/1-1.c index ef9b0b5ba..41d6d123e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/1-1.c @@ -19,7 +19,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/10-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/10-1.c index b96a4278b..9c6f41163 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/10-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/10-1.c @@ -17,7 +17,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/2-1.c index 699c42404..7d4f2e416 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/2-1.c @@ -24,7 +24,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/2-2.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/2-2.c index d0673192c..9b1df5a0c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/2-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/2-2.c @@ -21,7 +21,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/3-1.c index ead3be133..b8c03f297 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/3-1.c @@ -27,7 +27,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/4-1.c index 7304857f6..512f8ea6c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/4-1.c @@ -26,7 +26,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/5-1.c index 9d36c8b64..03937e5d9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/5-1.c @@ -24,7 +24,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/6-1.c index e194f49f2..6cc23f2d6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/6-1.c @@ -27,7 +27,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/7-1.c index 5e9bccff8..0a19ff99f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/7-1.c @@ -25,7 +25,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/8-1.c index 2627687fd..fb25118c9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/8-1.c @@ -21,7 +21,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/9-1.c index 0e4330828..0d9027da8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/9-1.c @@ -18,7 +18,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_error/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_error/1-1.c index 627d814a1..cbbf63aa0 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_error/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_error/1-1.c @@ -19,7 +19,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_error/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_error/2-1.c index 9ce2916a6..3c8e30299 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_error/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_error/2-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_error/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_error/3-1.c index c88be99cc..9ccda055e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_error/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_error/3-1.c @@ -19,7 +19,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/12-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/12-1.c index 3bd7b854b..9e3d80021 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/12-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/12-1.c @@ -6,7 +6,6 @@ * source tree. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/14-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/14-1.c index ad6216630..c8b59f8b6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/14-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/14-1.c @@ -6,7 +6,6 @@ * source tree. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/2-1.c index 3f65b9441..385c0a69b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/2-1.c @@ -6,7 +6,6 @@ * source tree. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/3-1.c index 7d6dbaf13..61c21d12c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/3-1.c @@ -6,7 +6,6 @@ * source tree. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/4-1.c index a957bf625..a46fdcc63 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/4-1.c @@ -7,7 +7,6 @@ * source tree. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/5-1.c index 34fb7f8c7..9e8d8e9ac 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/5-1.c @@ -6,7 +6,6 @@ * source tree. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-1.c index 356a21e4d..f0eb92352 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-1.c @@ -6,7 +6,6 @@ * source tree. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-2.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-2.c index 65e36d029..1b38af5cf 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-2.c @@ -6,7 +6,6 @@ * source tree. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-3.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-3.c index 794ee4917..054fce6af 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-3.c @@ -6,7 +6,6 @@ * source tree. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-4.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-4.c index 7a212e6d7..c3fa2a3a2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/8-4.c @@ -6,7 +6,6 @@ * source tree. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/9-1.c index a8b0ec1fd..ad8f18772 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/9-1.c @@ -6,7 +6,6 @@ * source tree. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/1-1.c index aa79375d7..5c06e8100 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/1-1.c @@ -18,7 +18,6 @@ * - read 256 bytes using aio_read */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/10-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/10-1.c index 473240b98..8bd5b69f6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/10-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/10-1.c @@ -20,7 +20,6 @@ * - check return code and errno */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/11-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/11-1.c index 1639f4b68..2e628b7d2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/11-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/11-1.c @@ -21,7 +21,6 @@ * - call aio_read with this aiocb */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/11-2.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/11-2.c index 1cfe95678..ff43ca153 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/11-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/11-2.c @@ -21,7 +21,6 @@ * - call aio_read with this aiocb */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/3-1.c index 49fae18a2..e74821477 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/3-1.c @@ -18,7 +18,6 @@ * - check error and return codes using previous aiocb */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/3-2.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/3-2.c index 06bd7242c..271b816a0 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/3-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/3-2.c @@ -18,7 +18,6 @@ * - check error and return codes using previous aiocb */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/4-1.c index 149cf83fc..cf3a678e7 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/4-1.c @@ -18,7 +18,6 @@ * - check data is consistent */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/5-1.c index 3f14aeb72..cdecb1720 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/5-1.c @@ -19,7 +19,6 @@ * - check data is effectively read (ignoring aio_lio_opcode) */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/7-1.c index 4802b4354..22316bcf0 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/7-1.c @@ -19,7 +19,6 @@ * - check aio_read return value */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/8-1.c index 2d082ca23..8a6c024a9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/8-1.c @@ -20,7 +20,6 @@ * - check aio_read return value */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/9-1.c index 1740c7bd4..a1b7de2b1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_read/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_read/9-1.c @@ -23,7 +23,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c index b10b34625..35a35ed4a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_return/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_return/2-1.c index 8782dd0d9..91677dd74 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_return/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_return/2-1.c @@ -20,7 +20,6 @@ * - call aio_return again, return status should be -1 */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_return/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_return/3-1.c index 8b2d64983..b582a211e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_return/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_return/3-1.c @@ -23,7 +23,6 @@ * - call aio_return to get the aiocb status (number of bytes written) */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_return/3-2.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_return/3-2.c index d5711a010..72acb1606 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_return/3-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_return/3-2.c @@ -21,7 +21,6 @@ * - call aio_return again, return status should be -1 */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_return/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_return/4-1.c index c4d0e9449..9efa8aef8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_return/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_return/4-1.c @@ -22,7 +22,6 @@ * - call aio_return with this last aiocb */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/1-1.c index 8d1158567..a102b47fb 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/1-1.c @@ -32,7 +32,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/3-1.c index dfb99f3a3..5270d7d46 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/3-1.c @@ -19,7 +19,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/4-1.c index fb49ce41c..596501b06 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/4-1.c @@ -21,7 +21,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/5-1.c index d0d7e4872..fea542a8a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/5-1.c @@ -17,7 +17,6 @@ * UNTESTED */ -#define _XOPEN_SOURCE 600 #include <stdlib.h> #include <unistd.h> #include "posixtest.h" diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/9-1.c index d6ca79390..f573c8106 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/9-1.c @@ -24,7 +24,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/1-1.c index d196aeb2e..86804b498 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/1-1.c @@ -21,7 +21,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/1-2.c index 4141fca72..d2c69acc2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/1-2.c @@ -22,7 +22,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/2-1.c index 96b54648c..d23dc7ae2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/2-1.c @@ -21,7 +21,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/3-1.c index 6b1c91dda..6d098fa38 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/3-1.c @@ -21,7 +21,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/5-1.c index c5607c57f..779d75585 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/5-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/6-1.c index b1430d820..2948552c4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/6-1.c @@ -21,7 +21,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/7-1.c index 42160a811..36c7bf5da 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/7-1.c @@ -23,7 +23,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/8-1.c index c3bbe15fc..18772b0de 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/8-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/8-2.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/8-2.c index 7b738d5b0..73f76822d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/8-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/8-2.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/9-1.c index 37da15020..9947bbe6f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/9-1.c @@ -23,7 +23,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/9-2.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/9-2.c index 19d1d018f..409fdb92c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_write/9-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_write/9-2.c @@ -23,7 +23,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/1-1.c index 3069d565d..14cf174f4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/1-1.c @@ -15,7 +15,6 @@ * Test needed to do something as opposed to idle sleep to * get the CPU time to increase. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <time.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/1-2.c index afbfa636b..ebcdf0577 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/1-2.c @@ -13,7 +13,6 @@ * permission, the clock ID of this clock shall be returned in clock_id. * */ -#define _XOPEN_SOURCE 600 #include <errno.h> #include <stdio.h> #include <string.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/2-1.c index 6bad95d1c..c19227b91 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/2-1.c @@ -9,7 +9,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <errno.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/5-1.c index d73207e29..0046d5066 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/5-1.c @@ -6,7 +6,6 @@ * the process. */ -#define _XOPEN_SOURCE 600 #include <sys/types.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/6-1.c index 401f5606e..f1995ed9b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/6-1.c @@ -6,7 +6,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/types.h> #include <limits.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/7-1.c index 48db3c910..9a4c05b55 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/7-1.c @@ -9,7 +9,6 @@ * The clock chosen for this test is CLOCK_PROCESS_CPUTIME_ID. */ -#define _XOPEN_SOURCE 600 #include <unistd.h> #include <stdio.h> #include <time.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/8-1.c index ab693a363..b35c41cdd 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/8-1.c @@ -9,7 +9,6 @@ * The clock chosen for this test is CLOCK_THREAD_CPUTIME_ID. */ -#define _XOPEN_SOURCE 600 #include <unistd.h> #include <stdio.h> #include <time.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/1-1.c index a303377b9..32b33b83e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/1-1.c @@ -28,8 +28,6 @@ * The test fails if the duration is > 2 seconds or if semaphore is not posted. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <sys/wait.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/12-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/12-1.c index 184c06293..2f09d6fe1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/12-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/12-1.c @@ -29,8 +29,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/13-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/13-1.c index 751f10afd..b38aefe66 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/13-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/13-1.c @@ -27,14 +27,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - -/* The interval timers are an XSI feature */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - #include <pthread.h> #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/14-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/14-1.c index 3288d3be1..c42bbe6d6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/14-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/14-1.c @@ -28,8 +28,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/16-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/16-1.c index 01b67fd29..258412c1f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/16-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/16-1.c @@ -33,8 +33,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/17-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/17-1.c index df663120d..300c3ff76 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/17-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/17-1.c @@ -29,8 +29,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/17-2.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/17-2.c index d4d1f89d8..3c06c806e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/17-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/17-2.c @@ -29,8 +29,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /********************************************************************************************/ /****************************** standard includes *****************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/18-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/18-1.c index 90b4da7a6..ea02b5bb0 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/18-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/18-1.c @@ -27,8 +27,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/19-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/19-1.c index 0a6911eb8..3507063e9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/19-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/19-1.c @@ -32,8 +32,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <sys/stat.h> #include <sys/wait.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/2-1.c index 3da44099d..977d7fe3e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/2-1.c @@ -33,14 +33,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - -/* We can use XSI features in case it is allowed */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - #include <pthread.h> #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/21-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/21-1.c index 2d1df82dc..7806e742a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/21-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/21-1.c @@ -27,8 +27,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <sys/wait.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/3-1.c index 6dc1565d1..294f1826f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/3-1.c @@ -26,8 +26,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/4-1.c index 22760233e..2baf7132d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/4-1.c @@ -26,8 +26,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/6-1.c index 132d9d6c7..6a296191b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/6-1.c @@ -29,8 +29,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/7-1.c index 1bf7df00b..75b5f2eb6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/7-1.c @@ -28,8 +28,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <sys/wait.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/8-1.c index 3aadc3c57..de370c2e6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/8-1.c @@ -29,9 +29,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - #include <pthread.h> #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/9-1.c index 9102c3c4a..816b8a919 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/9-1.c @@ -29,8 +29,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fsync/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fsync/4-1.c index 8a86ea490..8e27c98ab 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fsync/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fsync/4-1.c @@ -13,7 +13,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fsync/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fsync/5-1.c index 0e7ca4efc..02a26bd64 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fsync/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fsync/5-1.c @@ -9,7 +9,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fsync/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fsync/7-1.c index 537dedfd5..5154bbdc8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/fsync/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/fsync/7-1.c @@ -14,7 +14,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/killpg/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/killpg/1-1.c index 69d5cff59..f5c4745fc 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/killpg/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/killpg/1-1.c @@ -15,7 +15,6 @@ */ -#define _XOPEN_SOURCE 600 #define SIGTOTEST SIGCHLD #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/killpg/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/killpg/1-2.c index cb2d5641a..fa2c4ae2b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/killpg/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/killpg/1-2.c @@ -18,7 +18,6 @@ * */ -#define _XOPEN_SOURCE 600 #define SIGTOTEST SIGUSR1 #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/killpg/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/killpg/2-1.c index 9a9b183c1..37507d887 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/killpg/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/killpg/2-1.c @@ -9,7 +9,6 @@ returns success, then we pass. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/killpg/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/killpg/4-1.c index a79386ed7..15569dcce 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/killpg/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/killpg/4-1.c @@ -9,7 +9,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/killpg/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/killpg/5-1.c index 8942380b7..e027f27fd 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/killpg/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/killpg/5-1.c @@ -9,7 +9,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/killpg/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/killpg/6-1.c index 4cd0a14f4..b01c67231 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/killpg/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/killpg/6-1.c @@ -10,7 +10,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/killpg/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/killpg/8-1.c index bee4236b6..da4627ebc 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/killpg/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/killpg/8-1.c @@ -10,7 +10,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/1-1.c index bb189654d..8bc1dcc86 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/1-1.c @@ -21,7 +21,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/10-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/10-1.c index ca3600b94..9edf0e390 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/10-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/10-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/12-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/12-1.c index 51997bdc1..db73cb50e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/12-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/12-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/13-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/13-1.c index 83f7ffbcc..240f343f5 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/13-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/13-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/14-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/14-1.c index 89d9d5960..4b0dc592f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/14-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/14-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/15-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/15-1.c index 0bc90c041..3edfe9cda 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/15-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/15-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/18-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/18-1.c index e0ca4ec22..130f7dfbe 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/18-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/18-1.c @@ -21,7 +21,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/2-1.c index bfc934893..ee3da1516 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/2-1.c @@ -19,7 +19,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/3-1.c index 47bf5b0e0..747e4b488 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/3-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/4-1.c index 3de9858c0..c160d0ae3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/4-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <aio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/5-1.c index 928365a6d..e0d58ad79 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/5-1.c @@ -22,7 +22,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <sys/types.h> #include <aio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/6-1.c index d073bf9af..738ae9ddf 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/6-1.c @@ -17,7 +17,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/7-1.c index 54ac8f771..7857e1a8a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/7-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <sys/types.h> #include <aio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/8-1.c index b260314ec..c2cff0c1d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/8-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/types.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/9-1.c index 147d6e04a..13585a120 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/9-1.c @@ -21,7 +21,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <sys/types.h> #include <aio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mlock/12-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mlock/12-1.c index 30d23c5d4..d7c32bd04 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mlock/12-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mlock/12-1.c @@ -12,7 +12,6 @@ * (Linux 2.6.9 and later) and its RLIMIT_MEMLOCK soft resource limit set to 0. */ -#define _XOPEN_SOURCE 600 #include <sys/mman.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mlock/speculative/12-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mlock/speculative/12-1.c index 31729fe05..e180d818f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mlock/speculative/12-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mlock/speculative/12-1.c @@ -13,7 +13,6 @@ */ #define _GNU_SOURCE 1 /* XXX: Read baloney below about CAP_* */ -#define _XOPEN_SOURCE 600 #include <sys/mman.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mlockall/15-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mlockall/15-1.c index 4dd9e637a..09ddd1ca2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mlockall/15-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mlockall/15-1.c @@ -13,7 +13,6 @@ * It is a may assertion. */ -#define _XOPEN_SOURCE 600 #include <sys/mman.h> #include <stdio.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mlockall/3-6.c b/testcases/open_posix_testsuite/conformance/interfaces/mlockall/3-6.c index 21a449e32..409e08e46 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mlockall/3-6.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mlockall/3-6.c @@ -13,11 +13,6 @@ * This test use msync to check that the page is locked. */ -/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to - avoid warning if the implementation does not program ftruncate as a base - interface */ -#define _XOPEN_SOURCE 600 - #include <sys/mman.h> #include <sys/stat.h> #include <fcntl.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mlockall/speculative/15-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mlockall/speculative/15-1.c index 4dd9e637a..09ddd1ca2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mlockall/speculative/15-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mlockall/speculative/15-1.c @@ -13,7 +13,6 @@ * It is a may assertion. */ -#define _XOPEN_SOURCE 600 #include <sys/mman.h> #include <stdio.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/1-1.c index 21b3b11de..4b9b47d40 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/1-1.c @@ -15,7 +15,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/1-2.c index ef7794fde..5a9fd5b85 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/1-2.c @@ -11,7 +11,6 @@ * and a shared memory object. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/10-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/10-1.c index 62518ab71..4248b43b4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/10-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/10-1.c @@ -15,7 +15,6 @@ * make sure pa will not equal 0. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-1.c index 85a00d6ae..ef982bb48 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-2.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-2.c index cdb6b702a..39aae12dd 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-2.c @@ -17,7 +17,6 @@ * should get SIGBUS; */ -#define _XOPEN_SOURCE 600 #include <sys/mman.h> #include <sys/types.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-3.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-3.c index 3a5bb8ab6..71455794b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-3.c @@ -17,7 +17,6 @@ * beyond the end of the object, should get SIGBUS. */ -#define _XOPEN_SOURCE 600 #include <sys/mman.h> #include <sys/types.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-4.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-4.c index a52b28804..d6b778207 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-4.c @@ -28,7 +28,6 @@ * read the byte from the position modified at step 1-c and check. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-5.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-5.c index 41e966270..bc9a007eb 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-5.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-5.c @@ -27,7 +27,6 @@ * and check that change wasn't written. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-6.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-6.c index 15aab503d..9c1383498 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-6.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/11-6.c @@ -27,7 +27,6 @@ * and check that change wasn't written. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/12-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/12-1.c index dee97ae97..9c4023c57 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/12-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/12-1.c @@ -19,7 +19,6 @@ * 3. Acces and msync the mapped file */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/13-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/13-1.c index 035f1e5a6..d04060cae 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/13-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/13-1.c @@ -18,7 +18,6 @@ * 2. Compare whether st_atime has been updated. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/14-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/14-1.c index b5e7da3b9..bcbb4e67c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/14-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/14-1.c @@ -17,7 +17,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/18-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/18-1.c index 76ac702e4..1c151f43d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/18-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/18-1.c @@ -21,7 +21,6 @@ * 6. Change user to root seteuid() */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/19-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/19-1.c index 5d3738dd4..3b71f89f8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/19-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/19-1.c @@ -11,7 +11,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/21-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/21-1.c index ce636cff7..ce0e5ef8f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/21-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/21-1.c @@ -13,7 +13,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/23-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/23-1.c index 6e54420d1..19a4959e4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/23-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/23-1.c @@ -15,7 +15,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/24-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/24-1.c index 865d73953..3d9e4b180 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/24-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/24-1.c @@ -18,7 +18,6 @@ * 3. Should get ENOMEM. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/24-2.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/24-2.c index de51d43a1..9cf83d9a3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/24-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/24-2.c @@ -18,7 +18,6 @@ * 3. Should get ENOMEM. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/27-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/27-1.c index 5ab168655..b69274364 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/27-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/27-1.c @@ -18,7 +18,6 @@ * 2. Try fixed mapping */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/3-1.c index d22362d3f..18867d95b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/3-1.c @@ -20,7 +20,6 @@ * 3. Test whether byte *(pa + size) is 'b'. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/31-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/31-1.c index 2ca151766..4c594da7b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/31-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/31-1.c @@ -18,7 +18,6 @@ * and largefile support turned on. */ -#define _XOPEN_SOURCE 600 /* Turn on large file support, has no effect on 64 bit archs */ #define _FILE_OFFSET_BITS 64 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/32-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/32-1.c index 5828ed229..7ab526066 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/32-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/32-1.c @@ -8,7 +8,6 @@ * If len is zero, mmap() shall fail and no mapping shall be established. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/5-1.c index 544406bf5..6d846538d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/5-1.c @@ -21,7 +21,6 @@ * 2. each should either succed or fail with ENOTSUP */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-1.c index 476ba58ce..ebded92be 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-1.c @@ -25,7 +25,6 @@ * Please refer to IEEE_1003.1-2001. 2.8.3.3 Memory Protection. */ -#define _XOPEN_SOURCE 600 #include <sys/mman.h> #include <sys/types.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-2.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-2.c index eb4332749..0ffa82052 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-2.c @@ -26,7 +26,6 @@ * Please refer to IEEE_1003.1-2001. 2.8.3.3 Memory Protection. */ -#define _XOPEN_SOURCE 600 #include <sys/mman.h> #include <sys/types.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-3.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-3.c index 0d479f01b..fd413b35b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-3.c @@ -26,7 +26,6 @@ * Please refer to IEEE_1003.1-2001. 2.8.3.3 Memory Protection. */ -#define _XOPEN_SOURCE 600 #include <sys/mman.h> #include <sys/types.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-4.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-4.c index 406c4cf5a..27f3cbd65 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-4.c @@ -19,7 +19,6 @@ * 4. Get EACCES error when mmap(). * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-5.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-5.c index 5649925ea..a21432fd6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-5.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-5.c @@ -19,7 +19,6 @@ * 4. The mmap() should be sucessful. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-6.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-6.c index eef3cf407..6672c96c3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-6.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/6-6.c @@ -18,7 +18,6 @@ * 3. Get EACCES error when mmap(). */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-1.c index 79ed4aed1..d7cfdde67 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-1.c @@ -24,7 +24,6 @@ * 6. Check whether the modification has taken effect. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-2.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-2.c index a8e142d10..e90f812f8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-2.c @@ -24,7 +24,6 @@ * otherwise pass. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-3.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-3.c index 3d2ee748d..011bc230b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-3.c @@ -26,7 +26,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-4.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-4.c index 52f47cc14..ddad4cea7 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/7-4.c @@ -25,7 +25,6 @@ * 6. Check whether the change in step 3 is visible to the child. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/9-1.c index b6f4b73ee..8130ce768 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/9-1.c @@ -18,7 +18,6 @@ * 2. Call mmap() and get EINVAL; */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/munmap/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/munmap/1-1.c index e536329ea..f67c31dc3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/munmap/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/munmap/1-1.c @@ -17,7 +17,6 @@ * mapped file, test whether SIGSEGV is triggered. */ -#define _XOPEN_SOURCE 600 #include <sys/mman.h> #include <sys/types.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/munmap/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/munmap/1-2.c index dff15b792..882852680 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/munmap/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/munmap/1-2.c @@ -17,7 +17,6 @@ * is triggered. */ -#define _XOPEN_SOURCE 600 #include <sys/mman.h> #include <sys/types.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/munmap/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/munmap/3-1.c index 59b9f8deb..cca9028c8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/munmap/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/munmap/3-1.c @@ -12,7 +12,6 @@ * Should get EINVAL. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/munmap/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/munmap/4-1.c index 8f0903d76..7e90a97a4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/munmap/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/munmap/4-1.c @@ -18,7 +18,6 @@ * otherwise pass. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/munmap/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/munmap/8-1.c index 0adf23438..15ba0dc6c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/munmap/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/munmap/8-1.c @@ -11,7 +11,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/munmap/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/munmap/9-1.c index a5a30ebf2..ce0b06f35 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/munmap/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/munmap/9-1.c @@ -9,7 +9,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/1-2.c index a47d635a8..686397eb8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/1-2.c @@ -37,8 +37,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/2-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/2-2.c index 49aacdf8a..cd53ed826 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/2-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/2-2.c @@ -26,8 +26,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/3-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/3-2.c index aa1779296..e01c96841 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/3-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/3-2.c @@ -26,8 +26,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/3-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/3-3.c index b69a469de..1ac3a043a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/3-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/3-3.c @@ -24,8 +24,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*********************** standard includes ************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/4-1.c index 15e5f935f..d4861ebd0 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/4-1.c @@ -27,8 +27,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/1-1.c index d83a6db1e..aa58520f9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/1-1.c @@ -15,7 +15,6 @@ * 2. Main destroy the barrier * 3. Repeat step 1,2 for N times */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/2-1.c index fb782f2f3..161cc4653 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/2-1.c @@ -22,7 +22,6 @@ * Also see pthread_cond_destroy 4-1. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/1-1.c index a7d13bf97..2c554e91e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/1-1.c @@ -15,7 +15,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/3-1.c index 8f2523dd2..05a698f33 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/3-1.c @@ -14,7 +14,6 @@ #define COUNT 0 -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/4-1.c index b4d776b3c..2119a7450 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/4-1.c @@ -19,7 +19,6 @@ * 3. Child thread call pthread_barrier_wait(), should block * 4. Main call pthread_barrier_init() */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/1-1.c index fca37eccf..b84e526d3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/1-1.c @@ -18,7 +18,6 @@ * 4. Main call pthread_barrier_wait(), child and main should all return * from pthread_barrier_wait() */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/2-1.c index 01702698b..327ac1d9a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/2-1.c @@ -24,7 +24,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/3-1.c index 34134dfab..7fab9b858 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/3-1.c @@ -23,7 +23,6 @@ * from pthread_barrier_wait() */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/3-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/3-2.c index c795ecdbc..c38c271b8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/3-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/3-2.c @@ -20,7 +20,6 @@ * 6. After return from the signal handler, the child thread should continue as normal */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_destroy/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_destroy/1-1.c index 059d21182..0bc21d0d5 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_destroy/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_destroy/1-1.c @@ -11,7 +11,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/1-1.c index 27e67658a..bf8708aa6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/1-1.c @@ -11,7 +11,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/2-1.c index 3351a97aa..b3883f388 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/2-1.c @@ -26,7 +26,6 @@ * 6. Parent and Child should not block on pthread_barrier_wait() */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_init/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_init/1-1.c index c2e3470a1..b031a15f3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_init/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_init/1-1.c @@ -12,7 +12,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_init/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_init/2-1.c index a9862897b..9342339a4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_init/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_init/2-1.c @@ -12,7 +12,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_setpshared/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_setpshared/1-1.c index 5b3e44b0a..d57d95980 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_setpshared/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_setpshared/1-1.c @@ -10,7 +10,6 @@ * set the process-shared attribute in an initialized attributes object referenced by attr. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_setpshared/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_setpshared/2-1.c index 97dace720..bbb236a5c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_setpshared/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_setpshared/2-1.c @@ -12,7 +12,6 @@ * This case will always pass */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-1.c index 4c5cc65d4..336d9cc36 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-1.c @@ -10,7 +10,6 @@ * variable cond. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-2.c index 58962da54..8783feb68 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-2.c @@ -29,12 +29,6 @@ * */ -#define _POSIX_C_SOURCE 200112L - -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - #include <pthread.h> #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/2-1.c index ef31372c8..517a8729b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/2-1.c @@ -11,7 +11,6 @@ * own the mutex with which it called pthread_cond_wait(). */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/2-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/2-2.c index 03bf8de89..311aa1c62 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/2-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/2-2.c @@ -11,7 +11,6 @@ * own the mutex with which it called pthread_cond_timedwait(). */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/2-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/2-3.c index c07de5221..926077f0d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/2-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/2-3.c @@ -26,12 +26,6 @@ * */ -#define _POSIX_C_SOURCE 200112L - -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - #include <pthread.h> #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/4-1.c index b3c96b6b7..8b1ec72fc 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/4-1.c @@ -9,7 +9,6 @@ * Upon successful completion, a value of zero shall be returned. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/4-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/4-2.c index 01ec6340a..b3fab5a69 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/4-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/4-2.c @@ -25,7 +25,6 @@ * */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/2-1.c index daafcc209..c755d4049 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/2-1.c @@ -28,13 +28,6 @@ * */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_init/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_init/4-1.c index 404e7d7a9..7b0e21d7a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_init/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_init/4-1.c @@ -32,8 +32,6 @@ * Date: 31/05/2011 */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/1-1.c index 12814a5da..8d7ce80b2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/1-1.c @@ -10,7 +10,6 @@ * the specified condition variable cond. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/1-2.c index 2efdddac7..aff0cb171 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/1-2.c @@ -27,13 +27,6 @@ * */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/2-1.c index 3bb025da5..081264566 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/2-1.c @@ -11,7 +11,6 @@ * own the mutex with which it called pthread_cond_wait(). */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/2-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/2-2.c index 8550065d8..4a2e7e627 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/2-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/2-2.c @@ -11,7 +11,6 @@ * own the mutex with which it called pthread_cond_timedwait(). */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/4-1.c index acbc41c75..52a26c778 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/4-1.c @@ -9,7 +9,6 @@ * Upon successful completion, a value of zero shall be returned. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/4-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/4-2.c index c49b52852..05ab3f6d3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/4-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/4-2.c @@ -25,8 +25,6 @@ * */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /********************************************************************************************/ /****************************** standard includes *****************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/1-1.c index 5f075b2f3..f80111a6d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/1-1.c @@ -10,7 +10,6 @@ * by the calling thread or undefined behavior results. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-1.c index 8237051b7..bd4935517 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-1.c @@ -16,7 +16,6 @@ * be owned by the calling thread. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-2.c index 4006a6696..000b41673 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-2.c @@ -12,7 +12,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-3.c index 050f5e462..bfdc4eefc 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-3.c @@ -12,7 +12,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-4.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-4.c index 7e317d2e9..38b580782 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-4.c @@ -33,14 +33,6 @@ * -> The child checks that it owns the mutex; then it leaves. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes - and the mkstemp() routine */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif #include <pthread.h> #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-5.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-5.c index 257689ba1..14b4c80b8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-5.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-5.c @@ -40,12 +40,6 @@ * mark b as true then broadcast c until all threads are terminated. */ -#define _POSIX_C_SOURCE 200112L - -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - #include <pthread.h> #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-6.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-6.c index 892dc54b5..cc18d905c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-6.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-6.c @@ -27,14 +27,6 @@ * -> the cancelation handler will test if the thread owns the mutex. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - #include <pthread.h> #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-7.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-7.c index 28c977e83..17dadbd86 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-7.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-7.c @@ -32,15 +32,6 @@ * -> The child checks that it owns the mutex; then it leaves. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes - and the mkstemp() routine */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - #include <pthread.h> #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/3-1.c index d03e3990c..cbbd530f3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/3-1.c @@ -9,7 +9,6 @@ * Upon successful completion, a value of zero shall be returned. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/4-1.c index 6e0724ef6..cb02e7a2c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/4-1.c @@ -10,7 +10,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/4-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/4-2.c index 0b29ea0d5..1b9110d06 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/4-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/4-2.c @@ -33,15 +33,6 @@ * -> unlocks the mutex m */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes - and the mkstemp() routine */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - #include <pthread.h> #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/4-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/4-3.c index 25c033c63..27d21b34e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/4-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/4-3.c @@ -27,9 +27,6 @@ * */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - #include <pthread.h> #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/1-1.c index 80d0d2c73..83a73a5c4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/1-1.c @@ -10,7 +10,6 @@ * by the calling thread or undefined behavior results. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/2-1.c index fbda967f9..dd5b30028 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/2-1.c @@ -10,7 +10,6 @@ * by the calling thread. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/2-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/2-2.c index 54775d3e5..a46f9a599 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/2-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/2-2.c @@ -33,15 +33,7 @@ * -> The child checks that it owns the mutex; then it leaves. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes - and the mkstemp() routine */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ +/********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/2-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/2-3.c index 5987643a9..dc749ea11 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/2-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/2-3.c @@ -27,14 +27,7 @@ * -> the cancelation handler will test if the thread owns the mutex. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ +/********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/4-1.c index b97e35b14..d66e34082 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/4-1.c @@ -25,8 +25,6 @@ * */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /********************************************************************************************/ /****************************** standard includes *****************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_getclock/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_getclock/1-1.c index 5c23cfd26..adede97b2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_getclock/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_getclock/1-1.c @@ -15,7 +15,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_getclock/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_getclock/1-2.c index d4c8806fa..0271e4a8f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_getclock/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_getclock/1-2.c @@ -16,7 +16,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/1-1.c index 12feff66b..f1b7a5b55 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/1-1.c @@ -16,7 +16,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/1-2.c index a6e4d60e7..2d0d365f4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/1-2.c @@ -19,7 +19,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/1-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/1-3.c index 3de0fe913..27efa291c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/1-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/1-3.c @@ -18,7 +18,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <unistd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/2-1.c index 60ae3b386..814fd03ae 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/2-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/1-5.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/1-5.c index f7f9c752e..8f806eb57 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/1-5.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/1-5.c @@ -34,13 +34,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/1-6.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/1-6.c index 03c266a4a..fe151c84d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/1-6.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/1-6.c @@ -31,8 +31,6 @@ * lower priority does not finish until the high priority threads finished */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /* Must be included first */ #include "affinity.h" diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/11-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/11-1.c index c6e037f3a..e77b53eae 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/11-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/11-1.c @@ -16,7 +16,6 @@ * clock_gettime() since the thread has executed some time. */ -#define _XOPEN_SOURCE 600 #include <unistd.h> #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/14-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/14-1.c index f1edc3ff0..95e060377 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/14-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/14-1.c @@ -22,14 +22,6 @@ * -> check that EINTR is never returned */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - -/* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - #include <stdio.h> #include <errno.h> #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/15-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/15-1.c index f650415cd..70bfc9515 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/15-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/15-1.c @@ -26,13 +26,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/3-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/3-2.c index 8423511d1..ab97ff31b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/3-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/3-2.c @@ -39,13 +39,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/1-2.c index 5fe2646d5..2cdbebbe9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/1-2.c @@ -30,13 +30,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/2-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/2-2.c index baad54d5a..5cc7131bd 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/2-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/2-2.c @@ -28,13 +28,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/4-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/4-3.c index 5bf0de8e5..1c1e30c0c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/4-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/4-3.c @@ -24,13 +24,6 @@ * */ -#define _POSIX_C_SOURCE 200112L - -/* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - #include <pthread.h> #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_equal/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_equal/2-1.c index 1c6db5ce9..c1f0c6177 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_equal/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_equal/2-1.c @@ -24,8 +24,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /********************************************************************************************/ /****************************** standard includes *****************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/1-2.c index 88f6428b5..12b50f42a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/1-2.c @@ -30,14 +30,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/2-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/2-2.c index b15c07a71..40899d4ed 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/2-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/2-2.c @@ -28,14 +28,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/3-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/3-2.c index d4ec1f4ef..2d9b91e75 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/3-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/3-2.c @@ -29,14 +29,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/4-1.c index 481bff6e6..ecf3be583 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/4-1.c @@ -28,14 +28,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/5-1.c index e9e5b0133..b66109af1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/5-1.c @@ -27,14 +27,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/6-1.c index dcc65febc..3881f49a4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/6-1.c @@ -31,14 +31,6 @@ * -> the atexit() routines have been called. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/6-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/6-2.c index 9b1bc6dc7..858881fe9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/6-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/6-2.c @@ -25,14 +25,6 @@ * -> if the function returns, the test fails. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/1-2.c index b95b4eb81..34c410967 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/1-2.c @@ -27,7 +27,6 @@ * */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/4-1.c index 8f953760f..a827f5b77 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/4-1.c @@ -27,8 +27,6 @@ * The test fails if the main thread is unable to join the 1st thread. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/6-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/6-3.c index daac11edf..86922c379 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/6-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/6-3.c @@ -23,7 +23,6 @@ * -> check that EINTR is never returned */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/1-2.c index bc359c4da..27fc3d773 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/1-2.c @@ -29,8 +29,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/8-1.c index 7bcf50247..1be6722ac 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/8-1.c @@ -24,8 +24,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /********************************************************************************************/ /****************************** standard includes *****************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/2-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/2-2.c index f39d77b18..d3a265197 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/2-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/2-2.c @@ -25,14 +25,7 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ +/********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/5-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/5-2.c index 601a51779..f317a80d2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/5-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/5-2.c @@ -26,14 +26,7 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ +/********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/1-2.c index f826ceba3..0d5461a59 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/1-2.c @@ -39,8 +39,6 @@ * for general information */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/3-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/3-2.c index 1a8266a99..483dc8de2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/3-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/3-2.c @@ -45,8 +45,6 @@ * for general information */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/5-1.c index 2ab8d1f18..771c85eab 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/5-1.c @@ -28,13 +28,6 @@ * * Parent process waits for the child. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the setrlimit() function from X/OPEN standard */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ @@ -244,11 +237,3 @@ int main(void) } PASSED; } - -#else /* WITHOUT_XOPEN */ -int main(void) -{ - output_init(); - UNTESTED("This test requires XSI features"); -} -#endif diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/speculative/5-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/speculative/5-2.c index 7deb828fc..d36d675fe 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/speculative/5-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/speculative/5-2.c @@ -27,8 +27,6 @@ * -> return PTS_UNTESTED if the architecture is not present in the test. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /********************************************************************************************/ /****************************** standard includes *****************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/1-1.c index 6fab15020..8dcef241a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/1-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/3-1.c index c4d09facf..3b0811f42 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/3-1.c @@ -33,14 +33,6 @@ * for general information */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We enable the following line to have mutex attributes defined */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/4-1.c index 797212d04..a96b8432c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/4-1.c @@ -42,13 +42,6 @@ * for general information */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the setrlimit() function from X/OPEN standard */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ @@ -259,10 +252,3 @@ int main(void) PASSED; } -#else /* WITHOUT_XOPEN */ -int main(void) -{ - output_init(); - UNTESTED("This test requires XSI features"); -} -#endif diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/5-1.c index 38505db86..0dece222d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/5-1.c @@ -41,14 +41,6 @@ * for general information */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We enable the following line to have mutex attributes defined */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/1-1.c index cffd4319b..7527de13a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/1-1.c @@ -23,7 +23,6 @@ * tried to lock in the thread. */ -#define _XOPEN_SOURCE 600 #include <time.h> #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/2-1.c index 46f659c1f..1aca772a8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/2-1.c @@ -25,7 +25,6 @@ /* Test for CLOCK_REALTIME */ -#define _XOPEN_SOURCE 600 #include <time.h> #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/4-1.c index 43129e7d3..e0e362e4f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/4-1.c @@ -17,7 +17,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <time.h> #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-1.c index f8375e6aa..928c372dc 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-1.c @@ -22,7 +22,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <time.h> #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-2.c index f2505e5e8..a26a4e114 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-2.c @@ -22,7 +22,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <time.h> #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-3.c index a8332af05..02b597387 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-3.c @@ -21,7 +21,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <time.h> #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/1-2.c index adabfa237..72825fb05 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/1-2.c @@ -29,15 +29,7 @@ * -> undo everything. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes - and the mkstemp() routine */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ +/********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/2-1.c index f77bda68d..32c9ec870 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/2-1.c @@ -32,15 +32,7 @@ * -> undo everything. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes - and the mkstemp() routine */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ +/********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/4-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/4-2.c index 3063b2584..cbd3c98ef 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/4-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/4-2.c @@ -27,15 +27,7 @@ * -> undo everything. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes - and the mkstemp() routine */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ +/********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/4-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/4-3.c index 64c549da4..3b705d7f8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/4-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/4-3.c @@ -24,15 +24,7 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes - and the mkstemp() routine */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ +/********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ #include <pthread.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/2-1.c index c1562e44a..773eb923a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/2-1.c @@ -23,7 +23,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/5-1.c index 36ddc066f..89e89d1a6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/5-1.c @@ -31,13 +31,6 @@ * for general information */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We enable the following line to have mutex attributes defined */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ @@ -169,10 +162,3 @@ int main(void) PASSED; } -#else /* WITHOUT_XOPEN */ -int main(void) -{ - output_init(); - UNTESTED("This test requires XSI features"); -} -#endif diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/5-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/5-2.c index 7a49294e1..341b318de 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/5-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/5-2.c @@ -32,13 +32,6 @@ * for general information */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We enable the following line to have mutex attributes defined */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ @@ -151,10 +144,3 @@ int main(void) PASSED; } -#else /* WITHOUT_XOPEN */ -int main(void) -{ - output_init(); - UNTESTED("This test requires XSI features"); -} -#endif diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-1.c index f5fc5f014..71c864ea0 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-1.c @@ -19,7 +19,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-2.c index ddeef9410..7a77b77f1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-2.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-3.c index 2c87c711e..9b28c42ad 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-3.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-4.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-4.c index 84b007c0d..a7c452052 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-4.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-5.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-5.c index b762b5a30..888a5a22b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-5.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/1-5.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/speculative/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/speculative/3-1.c index f4ffad7a6..8c999e34f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/speculative/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/speculative/3-1.c @@ -18,7 +18,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/1-1.c index a7b694487..3393297a4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/1-1.c @@ -11,7 +11,6 @@ * these functions. The default value is PTHREAD_MUTEX_DEFAULT. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/2-1.c index 946d26b25..c73d7cd81 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/2-1.c @@ -22,7 +22,6 @@ * to interrupt the deadlock. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-1.c index 82a6060ca..3f8571214 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-1.c @@ -22,7 +22,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-2.c index 7e534d421..9ab92a817 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-2.c @@ -24,7 +24,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-3.c index e0746de1f..31f9b9fb9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-3.c @@ -22,7 +22,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-4.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-4.c index af718a1e5..cf17b8487 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/3-4.c @@ -22,7 +22,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/7-1.c index 72af96594..5404f8bb8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/7-1.c @@ -20,7 +20,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/1-2.c index f2fa99ff3..c8383cbe0 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/1-2.c @@ -28,8 +28,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /********************************************************************************************/ /****************************** standard includes *****************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/1-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/1-3.c index daaf7b4cd..9f1ad0c75 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/1-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/1-3.c @@ -28,8 +28,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /********************************************************************************************/ /****************************** standard includes *****************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/2-1.c index 559204436..0339e16c9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/2-1.c @@ -27,8 +27,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /********************************************************************************************/ /****************************** standard includes *****************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/6-1.c index 304b5b099..76f413440 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/6-1.c @@ -24,8 +24,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /********************************************************************************************/ /****************************** standard includes *****************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/1-1.c index e312b44d6..9d7e575c8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/1-1.c @@ -14,7 +14,6 @@ * 2. Destroy it. Should get not error. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include "posixtest.h" diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/3-1.c index 9921cc738..3aef44515 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/3-1.c @@ -15,7 +15,6 @@ * 3. Attempt to destroy it while it is still locked. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/1-1.c index 749716bdb..a38b1d688 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/1-1.c @@ -15,7 +15,6 @@ * 1. Initialize a pthread_rwlock_t object 'rwlock' with pthread_rwlock_init() * 2. Create a child thread, the thread lock 'rwlock' for reading, shall not block. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/2-1.c index bbe887ae3..823cadee9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/2-1.c @@ -15,7 +15,6 @@ * set 'attr' as NULL. * 2. Create a child thread, the thread lock 'rwlock' for reading, shall not block. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/3-1.c index ba6fabd1c..71ce2358d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/3-1.c @@ -14,7 +14,6 @@ * 2. Loop for COUNT time: lock for reading, unlock, lock for writing, unlock; */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/6-1.c index 0e288650d..165b09fd6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/6-1.c @@ -16,7 +16,6 @@ * 2. Re-initialize it again without destroying it first. * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/1-1.c index b394b382f..8f4835c48 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/1-1.c @@ -23,7 +23,6 @@ * 6. Create child thread to read lock 'rwlock', should block * 7. Main thread unlock 'rwlock' */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-1.c index c6c141297..a2e8b8f4e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-1.c @@ -35,7 +35,6 @@ * is not supported. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-2.c index 01f9de277..d51a0659f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-2.c @@ -35,7 +35,6 @@ * is not supported. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-3.c index 786ffb1e5..605ffd12a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-3.c @@ -35,7 +35,6 @@ * is not supported. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/4-1.c index 54310052d..cebdd9278 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/4-1.c @@ -19,7 +19,6 @@ * 7. main thread unlock 'rwlock', sig_thread should get the lock */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/5-1.c index 6bec6c34a..70f06afc8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/5-1.c @@ -15,7 +15,6 @@ * 3. Main unlocks 'rwlock' 10 times. * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/1-1.c index a1f47665b..b2795abb1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/1-1.c @@ -23,7 +23,6 @@ * but when the timer expires, the wait will be terminated * 7. Main thread unlock 'rwlock' */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/2-1.c index 60f8d7209..55f7827c1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/2-1.c @@ -20,7 +20,6 @@ * get an ETIMEOUT error. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/3-1.c index 82a16f25f..4861591c7 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/3-1.c @@ -26,7 +26,6 @@ /* Test for CLOCK_REALTIME */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/5-1.c index a0993ebbc..3130d1fbf 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/5-1.c @@ -21,7 +21,6 @@ * 5. The thread call pthread_rwlock_timedrdlock(). Should _NOT_ get ETIMEDOUT. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/6-1.c index 2f5acaa9a..c6d398ab3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/6-1.c @@ -26,7 +26,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/6-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/6-2.c index a82c5254a..aa24df4bc 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/6-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/6-2.c @@ -24,7 +24,6 @@ * getting ETIMEDOUT. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/1-1.c index 6f32d2a28..885eb0ff2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/1-1.c @@ -26,7 +26,6 @@ * 8. Main thread unlocks 'rwlock' */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/2-1.c index ac7dad9a6..349098634 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/2-1.c @@ -21,7 +21,6 @@ * get an ETIMEOUT error. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/3-1.c index da202b1d6..99611d61b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/3-1.c @@ -28,7 +28,6 @@ /* Test with CLOCK_REALTIME */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/5-1.c index ffd91d985..97f8a8f11 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/5-1.c @@ -21,7 +21,6 @@ * 6. The thread call pthread_rwlock_timedwrlock(). Should not get ETIMEDOUT. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-1.c index a6439fbaa..5a69731e0 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-1.c @@ -26,7 +26,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-2.c index 8b74bc9a3..7bff95d12 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-2.c @@ -24,7 +24,6 @@ * getting ETIMEDOUT. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_tryrdlock/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_tryrdlock/1-1.c index 6a7df797c..d07aaa513 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_tryrdlock/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_tryrdlock/1-1.c @@ -24,7 +24,6 @@ * 6. Create child thread to read lock 'rwlock' with pthread_rwlock_tryrdlock(), should not block and get EBUSY * 7. Main thread unlock 'rwlock' */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/1-1.c index e0aadb14c..7c3e3b73c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/1-1.c @@ -21,7 +21,6 @@ * should get EBUSY * 7. Main thread unlock 'rwlock' */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/speculative/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/speculative/3-1.c index 37b3cdcca..cc0d3a296 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/speculative/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/speculative/3-1.c @@ -13,7 +13,6 @@ * 1. Call pthread_rwlock_trywrlock with an uninitialized rwlock object * 2. Test for the return code. It may be EINVAL or 0. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/1-1.c index 46b0803f8..3d94ff9de 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/1-1.c @@ -24,7 +24,6 @@ * 7. Main thread unlock the read lock, the 'rwlock' is in unlocked state * 8. Child thread should get the lock for writing. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/2-1.c index c8f7d8ba6..24d2478f4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/2-1.c @@ -21,7 +21,6 @@ * 4. Main thread unlock the write lock, the 'rwlock' is in unlocked state * 5. Child thread should get the lock for writing. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/3-1.c index a47ebda56..2a7b6b477 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/3-1.c @@ -34,7 +34,6 @@ * is not supported. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/4-1.c index db19b2d5d..2db9e4cc6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/4-1.c @@ -19,7 +19,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/4-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/4-2.c index b61680493..a0acd2120 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/4-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/4-2.c @@ -21,7 +21,6 @@ * states it 'may' fail. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/1-1.c index 097ecb882..ac4891352 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/1-1.c @@ -21,7 +21,6 @@ * 7. Main thread unlock 'rwlock' * 8. Child got the lock */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/2-1.c index 0b48d13fa..9af61067f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/2-1.c @@ -19,7 +19,6 @@ * 7. main thread unlock 'rwlock', sig_thread should get the lock */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/3-1.c index 8e0ef806e..9086e8792 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/3-1.c @@ -17,7 +17,6 @@ * passes even if 0 is returned. * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_destroy/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_destroy/1-1.c index 84299bfeb..e82bf5c3f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_destroy/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_destroy/1-1.c @@ -13,7 +13,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_destroy/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_destroy/2-1.c index ad59db185..0d11920d2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_destroy/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_destroy/2-1.c @@ -16,7 +16,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/1-1.c index 229349dc8..46833eb16 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/1-1.c @@ -14,7 +14,6 @@ * attribute is set as the default value PTHREAD_PROCESS_PRIVATE. * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include "posixtest.h" diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/2-1.c index d79b7756c..4530cf161 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/2-1.c @@ -23,7 +23,6 @@ * 9. Child should get the write lock. */ -#define _XOPEN_SOURCE 600 #include <sys/mman.h> #include <sys/stat.h> #include <sys/wait.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/4-1.c index 37303a7f0..3fdda7d00 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/4-1.c @@ -15,7 +15,6 @@ * attribute is set as the default value PTHREAD_PROCESS_PRIVATE. * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include "posixtest.h" diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_init/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_init/1-1.c index abee8e8de..2299104fa 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_init/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_init/1-1.c @@ -16,7 +16,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include "posixtest.h" diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_init/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_init/2-1.c index 071d5a182..4f47b9a38 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_init/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_init/2-1.c @@ -17,7 +17,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include "posixtest.h" diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_setpshared/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_setpshared/1-1.c index e4002584d..63a0892e4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_setpshared/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_setpshared/1-1.c @@ -16,7 +16,6 @@ * 5. Get the attribute and test whether the setting in step 4 is correct. * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include "posixtest.h" diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/1-2.c index 6e80d464e..3170e52f4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/1-2.c @@ -25,9 +25,6 @@ * The test fails if the 1st thread policy is not changed. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - /******************************************************************************/ /*********************** standard includes ************************************/ /******************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/4-1.c index 75d955fd3..6342f4497 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/4-1.c @@ -27,9 +27,6 @@ * The test fails if the priority is changed and an error returned. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - /******************************************************************************/ /*********************** standard includes ************************************/ /******************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/5-1.c index d96be0b6e..78dd13605 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/5-1.c @@ -24,9 +24,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - /******************************************************************************/ /*********************** standard includes ************************************/ /******************************************************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/15-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/15-1.c index f52e6f0d6..d396f3be9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/15-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/15-1.c @@ -9,7 +9,6 @@ */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/18-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/18-1.c index 084bc20ff..56fcc7f12 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/18-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/18-1.c @@ -24,8 +24,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /********************************************************************************************/ /****************************** standard includes *****************************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_destroy/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_destroy/1-1.c index e46a21c61..f9e7b2230 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_destroy/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_destroy/1-1.c @@ -17,7 +17,6 @@ * 4. Main thread destroy the 'spinlock' */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_destroy/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_destroy/3-1.c index dc10886af..2cbe47db3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_destroy/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_destroy/3-1.c @@ -20,7 +20,6 @@ * 3. Create a child thread. The thread call pthread_spin_destroy() */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/1-1.c index 8f9b192fe..00937989d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/1-1.c @@ -18,7 +18,6 @@ * 4. Main thread destroy the 'spinlock' */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/2-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/2-2.c index b68adaed0..a74287371 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/2-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/2-2.c @@ -27,7 +27,6 @@ * 8. Child call pthread_spin_trylock() */ -#define _XOPEN_SOURCE 600 #include <sys/mman.h> #include <sys/stat.h> #include <sys/wait.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/4-1.c index 0ee36395c..a9e0c5653 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/4-1.c @@ -21,7 +21,6 @@ * 4. Child thread initialize the spin lock when main holds the lock */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/1-1.c index b85ad26ab..7e8824ba4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/1-1.c @@ -20,7 +20,6 @@ * 5. Child thread check its status in the signal handler. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/1-2.c index d91806fbd..6541051dd 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/1-2.c @@ -20,7 +20,6 @@ * 5. Child thread should get 'spinlock' */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/3-1.c index 5196f8a7b..3c3e71546 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/3-1.c @@ -14,7 +14,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/3-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/3-2.c index 7ec1a7a48..113592e0f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/3-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/3-2.c @@ -13,7 +13,6 @@ * This case will always pass. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/1-1.c index 0ba6994d9..00a1a227a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/1-1.c @@ -20,7 +20,6 @@ * 5. Child thread check its state in the signal handler. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/4-1.c index 5a69732bb..995e8ca8f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/4-1.c @@ -13,7 +13,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/1-1.c index d1739bf22..c20567840 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/1-1.c @@ -22,7 +22,6 @@ * 7. Main thread unlock 'spinlock' */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/1-2.c index f3c0a6c7b..5f714127a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/1-2.c @@ -24,7 +24,6 @@ * 5. Child thread should get 'spinlock' */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/3-1.c index 4b0a5e6b6..409da6368 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/3-1.c @@ -21,7 +21,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/6-1.c index 2c9c5d527..7c3c4bc40 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/6-1.c @@ -19,7 +19,6 @@ * EPERM. It is implementation defined. */ -#define _XOPEN_SOURCE 600 #include <sys/types.h> #include <errno.h> #include <pwd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/7-1.c index d0be68d57..3b1e2050e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/7-1.c @@ -11,7 +11,6 @@ * Test that sched_getscheduler() sets errno == EPERM when the requesting * process does not have permission */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sched.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/23-6.c b/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/23-6.c index 6643d75d1..50f87e867 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/23-6.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/23-6.c @@ -12,7 +12,6 @@ * does not have permission to set the scheduling parameters for the specified * process, or does not have the appropriate privilege to invoke schedparam(). */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sched.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/20-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/20-1.c index 449d8766d..34d30782b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/20-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/20-1.c @@ -17,7 +17,6 @@ * belongs to root. This test can not be run by root. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sched.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_close/3-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_close/3-2.c index 60fa98b50..c3447ebfb 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_close/3-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_close/3-2.c @@ -32,8 +32,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_init/3-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_init/3-2.c index b1585362f..8c44b2530 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_init/3-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_init/3-2.c @@ -29,8 +29,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_init/3-3.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_init/3-3.c index efd927bf3..a0e918f47 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_init/3-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_init/3-3.c @@ -29,8 +29,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_init/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_init/7-1.c index 86ba80bcd..43bba70e0 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_init/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_init/7-1.c @@ -27,8 +27,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_open/15-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_open/15-1.c index 0fcf1d8f1..d9dc9f255 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_open/15-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_open/15-1.c @@ -29,8 +29,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_open/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_open/3-1.c index d7b9fdb6d..0fec4ec04 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_open/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_open/3-1.c @@ -11,7 +11,6 @@ permissions which should come up with denial access. */ -#define _XOPEN_SOURCE 600 #include <sys/types.h> #include <pwd.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/1-1.c index ee641c4b0..624b01862 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/1-1.c @@ -11,7 +11,6 @@ * semaphore * value by one. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/10-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/10-1.c index 505085c91..2d206af22 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/10-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/10-1.c @@ -12,7 +12,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/11-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/11-1.c index aec28df31..f87afaa43 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/11-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/11-1.c @@ -13,7 +13,6 @@ * immediately. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/2-1.c index 228b3d82e..655e35108 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/2-1.c @@ -10,7 +10,6 @@ * will unlock the semaphore from another process. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/2-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/2-2.c index 86836fa9a..f3cca131a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/2-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/2-2.c @@ -14,7 +14,6 @@ * the semaphore. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/3-1.c index 915344315..dd42bbd91 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/3-1.c @@ -11,7 +11,6 @@ * sem_timedwait call will immediately lock again. */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <sys/types.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/4-1.c index 66ddb433f..ece0e67be 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/4-1.c @@ -11,7 +11,6 @@ * by sem. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/6-1.c index 032e74c57..2634c38c8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/6-1.c @@ -12,7 +12,6 @@ * return ERROR (EINVAL). */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/6-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/6-2.c index 4b358636a..f957191bf 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/6-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/6-2.c @@ -12,7 +12,6 @@ * 1000 million. Should return ERROR (EINVAL). */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/7-1.c index 11cd26c80..79de0af7f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/7-1.c @@ -11,7 +11,6 @@ * sem_timedwait call will immediately lock again. */ -#define _XOPEN_SOURCE 600 #include <sys/stat.h> #include <sys/types.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/9-1.c index 554cf2c3e..d59f06fe4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/9-1.c @@ -10,7 +10,6 @@ * return error EINTR. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <errno.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/2-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/2-2.c index 15745dc1c..fbc585aa8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/2-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/2-2.c @@ -29,8 +29,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/3-1.c index 965033b52..036da6a15 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/3-1.c @@ -31,11 +31,8 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /* Some of the routines are XSI extensions */ -#define _XOPEN_SOURCE 600 /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/4-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/4-2.c index f70ef7457..46744f8f8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/4-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/4-2.c @@ -27,8 +27,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/5-1.c index 71300f2cb..e1e1597d3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/5-1.c @@ -33,8 +33,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/6-1.c index 86fe39c47..63ccfca8a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/6-1.c @@ -28,8 +28,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/1-1.c index 595ed92dd..0cca4b0f9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/1-1.c @@ -19,11 +19,6 @@ * The test pass if it read what it was previously written. */ -/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to - avoid warning if the implementation does not program ftruncate as a base - interface */ -#define _XOPEN_SOURCE 600 - #include <stdio.h> #include <sys/mman.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/13-1.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/13-1.c index db7b8ba05..19ef649e4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/13-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/13-1.c @@ -13,11 +13,6 @@ * The test uses ftruncate to check that the file is not open for write access. */ -/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to - avoid warning if the implementation does not program ftruncate as a base - interface */ -#define _XOPEN_SOURCE 600 - #include <sys/mman.h> #include <sys/stat.h> #include <fcntl.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/14-2.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/14-2.c index c1f2af05b..8528322f2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/14-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/14-2.c @@ -19,11 +19,6 @@ * The test pass if it read what it was previously written. */ -/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to - avoid warning if the implementation does not program ftruncate as a base - interface */ -#define _XOPEN_SOURCE 600 - #include <stdio.h> #include <sys/mman.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/20-1.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/20-1.c index f3760ab72..fe8b0a0ca 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/20-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/20-1.c @@ -13,11 +13,6 @@ * The test use ftruncate to check the object is not open for writing. */ -/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to - avoid warning if the implementation does not program ftruncate as a base - interface */ -#define _XOPEN_SOURCE 600 - #include <stdio.h> #include <sys/mman.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/20-2.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/20-2.c index 21258825d..a11c19540 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/20-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/20-2.c @@ -13,11 +13,6 @@ * The test use ftruncate to check the object is open for writing. */ -/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to - avoid warning if the implementation does not program ftruncate as a base - interface */ -#define _XOPEN_SOURCE 600 - #include <stdio.h> #include <sys/mman.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/20-3.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/20-3.c index 5da4698d9..918ffc065 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/20-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/20-3.c @@ -13,11 +13,6 @@ * The test use mmap to check the object is open for reading. */ -/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to - avoid warning if the implementation does not program ftruncate as a base - interface */ -#define _XOPEN_SOURCE 600 - #include <stdio.h> #include <sys/mman.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c index 7a82f889d..81ce258c6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c @@ -17,16 +17,11 @@ * objects is not NLOOP, the test failed. In other case the test is unresolved. */ -/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to - avoid warning if the implementation does not program ftruncate as a base - interface */ - /* adam.li: 2004-04-30: Rewrite the test case. The idea is that with O_CREAT and O_EXCL specified, to shm_open() a object can only success once, although multiple processes might open with the same name at the same time. */ -#define _XOPEN_SOURCE 600 #include <errno.h> #include <fcntl.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/25-1.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/25-1.c index cc7001c77..ef0401fbc 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/25-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/25-1.c @@ -16,11 +16,6 @@ * 3. Check that the shared memory object is zero length using fstat. */ -/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to - avoid warning if the implementation does not program ftruncate as a base - interface */ -#define _XOPEN_SOURCE 600 - #include <sys/mman.h> #include <sys/stat.h> #include <fcntl.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/26-2.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/26-2.c index b91d2e71c..215d3e1af 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/26-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/26-2.c @@ -21,7 +21,6 @@ */ /* getpwent() is part of XSI option */ -#define _XOPEN_SOURCE 600 #include <sys/mman.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/28-1.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/28-1.c index 0a0cccc71..95da50c5b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/28-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/28-1.c @@ -18,11 +18,6 @@ * 4. Check that the previously written string is always in the memory. */ -/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to - avoid warning if the implementation does not program ftruncate as a base - interface */ -#define _XOPEN_SOURCE 600 - #include <stdio.h> #include <sys/mman.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/28-2.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/28-2.c index 16b8dc615..a98b67499 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/28-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/28-2.c @@ -18,11 +18,6 @@ * 3. Check that the previously written string is always in the mapped memory. */ -/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to - avoid warning if the implementation does not program ftruncate as a base - interface */ -#define _XOPEN_SOURCE 600 - #include <stdio.h> #include <sys/mman.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/28-3.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/28-3.c index 62615d6b8..16f40c74e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/28-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/28-3.c @@ -19,11 +19,6 @@ * 4. Check that the previously written string is always in the memory. */ -/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to - avoid warning if the implementation does not program ftruncate as a base - interface */ -#define _XOPEN_SOURCE 600 - #include <stdio.h> #include <sys/mman.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/32-1.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/32-1.c index 1f542fbec..58e4f13c7 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/32-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/32-1.c @@ -14,7 +14,6 @@ * open it. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/mman.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/34-1.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/34-1.c index f40204455..394fcf969 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/34-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/34-1.c @@ -13,7 +13,6 @@ /* FIXME : ambiguite de la spec */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/mman.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/5-1.c index f427a45a4..7e23e36eb 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/5-1.c @@ -22,11 +22,6 @@ * 4. Check that it obtain the right string. */ -/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to - avoid warning if the implementation does not program ftruncate as a base - interface */ -#define _XOPEN_SOURCE 600 - #include <stdio.h> #include <sys/mman.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/8-1.c index dd1846029..cf0e206c9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/8-1.c @@ -21,7 +21,6 @@ */ /* mkstemp is an XOPEN extension. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/mman.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/3-1.c index a9840d250..e8c97cd9e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/3-1.c @@ -11,11 +11,6 @@ * open and map references to the shared memory object have been removed. */ -/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to - avoid warning if the implementation does not program ftruncate as a base - interface */ -#define _XOPEN_SOURCE 600 - #include <stdio.h> #include <sys/mman.h> #include <sys/stat.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/8-1.c index a924c9409..ed18cf213 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/8-1.c @@ -19,7 +19,6 @@ */ /* getpwent() is part of XSI option */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/mman.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/9-1.c index 756515310..5c52465c8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/9-1.c @@ -19,7 +19,6 @@ */ /* getpwent() is part of XSI option */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/mman.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-1.c index c9db8234c..68cac9925 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-1.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-10.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-10.c index 8249eec81..15a2c8ccf 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-10.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-10.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-11.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-11.c index c81a1c5e7..3d099206c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-11.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-11.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-12.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-12.c index 61a52e155..4f74ac9ca 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-12.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-12.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-13.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-13.c index f94db80e3..fce8623de 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-13.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-13.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-14.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-14.c index b0d1fde6c..d73ac2d15 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-14.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-14.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-15.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-15.c index 909e31958..ba5cacd9f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-15.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-15.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-16.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-16.c index c69ceb606..20394ed05 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-16.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-16.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-17.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-17.c index c4b3b146f..c866abe54 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-17.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-17.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-18.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-18.c index f614672ca..d6839dc4d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-18.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-18.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-19.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-19.c index f614672ca..d6839dc4d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-19.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-19.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-2.c index f614672ca..d6839dc4d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-2.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-20.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-20.c index 21e781a93..41ce5f2ba 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-20.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-20.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-21.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-21.c index 1d51a5a45..949c0b141 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-21.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-21.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-22.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-22.c index 0fb79dbb6..3d58f3a59 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-22.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-22.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-23.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-23.c index a0a15fd0e..6467b870b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-23.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-23.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-24.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-24.c index 9ef152843..aaa1930e9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-24.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-24.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-25.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-25.c index 883148bfa..4c56fcd7e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-25.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-25.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-26.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-26.c index 1366eafac..5782d0278 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-26.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-26.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-27.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-27.c index 919d2db3a..12a4b701f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-27.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-27.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-28.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-28.c index efbb30581..2e183de20 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-28.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-28.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-29.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-29.c index 03b700c19..dda4e79bd 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-29.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-29.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-3.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-3.c index 3e09de5e7..bfc329568 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-3.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-30.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-30.c index fd87d7b3a..5542932a6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-30.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-30.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-31.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-31.c index a21bf3555..9572198b8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-31.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-31.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-32.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-32.c index 908921095..4eeaaa2be 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-32.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-32.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-33.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-33.c index f4d52118e..66c3ca885 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-33.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-33.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-34.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-34.c index 2f60a38e2..5e4ac197b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-34.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-34.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-35.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-35.c index b3bd83d19..8eb9ea022 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-35.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-35.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-36.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-36.c index bbb419113..67cca07d2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-36.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-36.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-37.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-37.c index 5e0284953..0473be02c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-37.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-37.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-38.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-38.c index 23ab71fff..55fd56743 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-38.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-38.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-39.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-39.c index 2e6bb25e7..6b833db51 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-39.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-39.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-4.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-4.c index deaec27a6..727244521 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-4.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-40.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-40.c index 925d450d0..f10eaf5f1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-40.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-40.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-41.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-41.c index 671155b19..c5b157ebf 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-41.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-41.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-42.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-42.c index e685e8d0c..a5dda4142 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-42.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-42.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-43.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-43.c index 3b96fd04d..51ca51d74 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-43.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-43.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-44.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-44.c index efbb30581..2e183de20 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-44.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-44.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-45.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-45.c index efbb30581..2e183de20 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-45.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-45.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-46.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-46.c index 2d5b9689b..7764ffe4a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-46.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-46.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-47.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-47.c index dd0c3d977..1a1399ac5 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-47.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-47.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-48.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-48.c index 146c7d675..6d14d03f3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-48.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-48.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-49.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-49.c index 52b5c4f79..a1b5fbb10 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-49.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-49.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-5.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-5.c index 95966f47b..03d995c39 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-5.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-5.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-50.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-50.c index f1eec2e66..a680a8383 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-50.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-50.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-51.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-51.c index b094860cb..2cc102e12 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-51.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-51.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-52.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-52.c index 138816c63..cedc31476 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-52.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-52.c @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-6.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-6.c index c3845604c..8dfcda246 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-6.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-6.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-7.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-7.c index e67da1d0d..eec34c069 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-7.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-7.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-8.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-8.c index 73ece6c01..1c302f401 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-8.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-8.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-9.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-9.c index b3d30b83a..92c65b8e1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-9.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-9.c @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-1.c index 54a594b9b..4a2f53504 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-1.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-10.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-10.c index 67fcc7a40..6792e1435 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-10.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-10.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-11.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-11.c index 64047ee76..766e9a077 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-11.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-11.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-12.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-12.c index 371ed144f..017736c62 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-12.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-12.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-13.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-13.c index 0db423925..2e156eebc 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-13.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-13.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-14.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-14.c index f28bca8bc..aaf4a70a1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-14.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-14.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-15.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-15.c index 32515908b..12d4aa26d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-15.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-15.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-16.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-16.c index 88f10276a..37bc4ff8b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-16.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-16.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-17.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-17.c index 11e04d348..db4712074 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-17.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-17.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-18.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-18.c index 4368bb0a8..9c643fc70 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-18.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-18.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-19.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-19.c index 4368bb0a8..9c643fc70 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-19.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-19.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-2.c index 4368bb0a8..9c643fc70 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-2.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-20.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-20.c index c7dac514b..febc3de5e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-20.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-20.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-21.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-21.c index 58c9013c2..e7923c0d9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-21.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-21.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-22.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-22.c index 73d218cf2..94220f81c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-22.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-22.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-23.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-23.c index 5327ad75f..e7defc8d0 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-23.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-23.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-24.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-24.c index 88bfdae38..148b222f2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-24.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-24.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-25.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-25.c index 81fefc8d1..7945f8d1f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-25.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-25.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-26.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-26.c index 132835191..f5962145c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-26.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-26.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-3.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-3.c index 6a337d97d..d10bed83d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-3.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-4.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-4.c index f94bf2ca1..6ed607626 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-4.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-5.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-5.c index 756680457..ab8419bd2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-5.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-5.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-6.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-6.c index dcd730278..62d92f9a2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-6.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-6.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-7.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-7.c index 6cdbad06e..cb077e2a8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-7.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-7.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-8.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-8.c index fff9162af..35e952123 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-8.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-8.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-9.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-9.c index 9f7f0ccab..01c15e4f4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-9.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-9.c @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c index 76eaa0a88..74e58d4f3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c @@ -23,11 +23,8 @@ * */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /* This test tests for an XSI feature */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-1.c index a8efa0483..b9f7e738d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-1.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-10.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-10.c index ba06ee4c2..7d402fd67 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-10.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-10.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-11.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-11.c index 8ad74926d..93e4a9045 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-11.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-11.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-12.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-12.c index cec3f2cf1..5f95af8c7 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-12.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-12.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-13.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-13.c index 11b6b501c..c2847c9dd 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-13.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-13.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-14.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-14.c index 0681f56bc..968711284 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-14.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-14.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-15.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-15.c index d322e1d7a..336367f92 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-15.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-15.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-16.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-16.c index 3bd3f85c7..60c502f59 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-16.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-16.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-17.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-17.c index 36a097951..40b3b4822 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-17.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-17.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-18.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-18.c index 510500943..9d7a91fd2 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-18.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-18.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-19.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-19.c index 11f5c83b7..6b8ca7671 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-19.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-19.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-2.c index 64202ab7e..5e42ddd4f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-2.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-20.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-20.c index 87ed4e0df..3b0a6fee1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-20.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-20.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-21.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-21.c index b72bd655e..3db868f06 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-21.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-21.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-22.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-22.c index e3e2ac822..659202f73 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-22.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-22.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-23.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-23.c index b4c5f5e33..f3e05275f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-23.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-23.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-24.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-24.c index 6f2d00e04..02c9d4dff 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-24.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-24.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-25.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-25.c index ab94d914d..388e9c4b1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-25.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-25.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-26.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-26.c index 48f1af514..ba672756b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-26.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-26.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-3.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-3.c index 9aeb05c59..da5c0824b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-3.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-4.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-4.c index abeb43180..dc69d283a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-4.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-5.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-5.c index e6cbaefb7..c3baf6c36 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-5.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-5.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-6.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-6.c index ca1fc2616..f2ea5635a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-6.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-6.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-7.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-7.c index 0e2b3e3a8..836ef92da 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-7.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-7.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-8.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-8.c index 0e66c9c3a..92b20c456 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-8.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-8.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-9.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-9.c index a60a4403e..cdf1a298c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-9.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-9.c @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-1.c index 5c33b5629..a038ea92a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-1.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-10.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-10.c index 0b731f7f2..019c98036 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-10.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-10.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-11.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-11.c index e02824d1e..7e3545e90 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-11.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-11.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-12.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-12.c index 16dca4a0c..123ff169d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-12.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-12.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-13.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-13.c index e31961992..6cfe1d7f9 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-13.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-13.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-14.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-14.c index e94ade304..9371b1bdb 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-14.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-14.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-15.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-15.c index 1b926ecd5..37a986d68 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-15.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-15.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-16.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-16.c index 59263bb9b..72446e792 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-16.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-16.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-17.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-17.c index b3ff90d22..e6d5ba8be 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-17.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-17.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-18.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-18.c index 705606100..2d3f7437f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-18.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-18.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-19.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-19.c index 20a99dba8..b124d08b8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-19.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-19.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-2.c index 10aa19e4c..0c7e8c698 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-2.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-20.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-20.c index ea2bb7b2c..f01a4c2ec 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-20.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-20.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-21.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-21.c index c91edfe07..74fffa988 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-21.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-21.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-22.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-22.c index d83a3864b..dbe6c55a1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-22.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-22.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-23.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-23.c index 34dd74c25..e0f54d835 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-23.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-23.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-24.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-24.c index a17872821..bba928a57 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-24.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-24.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-25.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-25.c index 02f8bed0b..62ebe7390 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-25.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-25.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-26.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-26.c index 3aaef9d2d..c02c77397 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-26.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-26.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-3.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-3.c index df04d83bf..5fb8c5fad 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-3.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-4.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-4.c index 004fd5109..993889041 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-4.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-5.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-5.c index 432cf8835..9096ca426 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-5.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-5.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-6.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-6.c index 9085be9e7..3b6799a4e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-6.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-6.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-7.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-7.c index 892c7e6e0..5d6b84bd3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-7.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-7.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-8.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-8.c index a56b6b022..ec2649165 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-8.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-8.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-9.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-9.c index b9c4456cf..91044863a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-9.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-9.c @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/21-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/21-1.c index 58d3d229b..710fa0c81 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/21-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/21-1.c @@ -4,7 +4,6 @@ a child process not transforming into a zombie after death. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-1.c index 38e2117a2..459b3bfc5 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-1.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-10.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-10.c index bebde7ca1..7b0e0f663 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-10.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-10.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-11.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-11.c index 669d03e8a..f37df618b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-11.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-11.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-12.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-12.c index a0908c13f..9048c21fd 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-12.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-12.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-13.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-13.c index 853ca9c42..9cfa11780 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-13.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-13.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-14.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-14.c index 21f80040c..cadc114b0 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-14.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-14.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-15.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-15.c index 654bb6726..b9179a087 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-15.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-15.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-16.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-16.c index 991b822fa..8cc6d8b8d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-16.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-16.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-17.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-17.c index 2bd32a991..a566dd420 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-17.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-17.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-18.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-18.c index bc2b69235..4feb83054 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-18.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-18.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-19.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-19.c index bc2b69235..4feb83054 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-19.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-19.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-2.c index bc2b69235..4feb83054 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-2.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-20.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-20.c index 2ed66c506..79dd0dfa6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-20.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-20.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-21.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-21.c index bdcfff5d3..dedb89742 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-21.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-21.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-22.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-22.c index 7e124b896..db199a433 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-22.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-22.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-23.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-23.c index 5dfb4a367..898580373 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-23.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-23.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-24.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-24.c index 3d904efa7..1498f0a01 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-24.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-24.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-25.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-25.c index b91c9aa38..813656d41 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-25.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-25.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-26.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-26.c index e0fcd399c..7a01d4efa 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-26.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-26.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-3.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-3.c index 0990392c0..21161629b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-3.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-4.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-4.c index 9ec7cfedd..7e726fe7d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-4.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-5.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-5.c index 00113ac8e..52df3c349 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-5.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-5.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-6.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-6.c index 98d0222af..63b65163b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-6.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-6.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-7.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-7.c index ed0f4a269..76a08d361 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-7.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-7.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-8.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-8.c index 379a6985f..caf90e2c7 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-8.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-8.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-9.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-9.c index 72ee42072..6e9a27171 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-9.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-9.c @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-1.c index 0a93f261b..ddf9c057f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-1.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-10.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-10.c index 4aa25cddd..c9baf0050 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-10.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-10.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-11.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-11.c index cbc3fc15e..32568ec0c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-11.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-11.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-12.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-12.c index 7c7e4b945..5f90611cd 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-12.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-12.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-13.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-13.c index ee2ef490a..fda3c7a28 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-13.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-13.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-14.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-14.c index c52785d44..b9ae6bd25 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-14.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-14.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-15.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-15.c index 20f068a91..f016d469f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-15.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-15.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-16.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-16.c index 293bad267..cbd6aecaf 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-16.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-16.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-17.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-17.c index 06e31614d..2cdcbd73b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-17.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-17.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-18.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-18.c index 091318c6f..05b85e9a7 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-18.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-18.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-2.c index a00cbb2c1..b2932c44a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-2.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-20.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-20.c index 001b91a0a..97aa6e901 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-20.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-20.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-21.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-21.c index 759a8a862..7fd6928f6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-21.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-21.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-22.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-22.c index d3c71f01d..22f232cd3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-22.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-22.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-23.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-23.c index d5ed6c738..635e16876 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-23.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-23.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-24.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-24.c index 6d6044ffa..6b729778f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-24.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-24.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-25.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-25.c index 1013e107e..9f4b3b6a1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-25.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-25.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-26.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-26.c index b4f76a354..4d62f59da 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-26.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-26.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-3.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-3.c index 1f46c4191..997e6c775 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-3.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-4.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-4.c index 580b3bd22..56f3c5aa3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-4.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-5.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-5.c index 2bc5a2ee1..6349ed8e7 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-5.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-5.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-6.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-6.c index 6c0a9a095..fb2d343a0 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-6.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-6.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-7.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-7.c index ead989b5b..ba5eca86c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-7.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-7.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-8.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-8.c index a23f4019b..42d242068 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-8.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-8.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-9.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-9.c index 9a1458ff7..af4303971 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-9.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-9.c @@ -27,8 +27,6 @@ * The test fails if signal handler if reentered or signal is not pending when raised again. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-1.c index 19f804aca..5a3f7a92e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-1.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-10.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-10.c index b0105c1f4..23f8462c8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-10.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-10.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-11.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-11.c index 08ca8749e..f532620f6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-11.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-11.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-12.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-12.c index 49f3e6ec0..846508822 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-12.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-12.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-13.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-13.c index 803e99d11..9c0d0a8f4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-13.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-13.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-14.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-14.c index 0f08ca2e2..fc7480b3e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-14.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-14.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-15.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-15.c index 3f0e3d00e..33b20e209 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-15.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-15.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-16.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-16.c index 46a32506b..2cdbfedc4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-16.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-16.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-17.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-17.c index 2154fc9bd..0c4958272 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-17.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-17.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-18.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-18.c index 0dc759d3a..b88365b47 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-18.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-18.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-19.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-19.c index 59af105b4..887a2edbb 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-19.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-19.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-2.c index 44b1e36e1..475c323f8 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-2.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-20.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-20.c index 2bc3cf46c..2f00f4a6a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-20.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-20.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-21.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-21.c index 2ca1977b7..70e1c5c29 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-21.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-21.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-22.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-22.c index 94a342466..1a01f1fdc 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-22.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-22.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-23.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-23.c index 8f46f4b0b..3d76edb15 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-23.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-23.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-24.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-24.c index 43cd1c725..8e3585100 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-24.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-24.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-25.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-25.c index f89bb09d5..25f72c683 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-25.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-25.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-26.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-26.c index 49b0cde9f..44f42a07d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-26.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-26.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-3.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-3.c index 56551b326..aad71c1b4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-3.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-4.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-4.c index 3eb2c9f87..3389fa965 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-4.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-5.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-5.c index 2d1694075..945dabfb4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-5.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-5.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-6.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-6.c index 8ad7380c6..39d6b61a5 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-6.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-6.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-7.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-7.c index 7e38627d6..5065e8c4c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-7.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-7.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-8.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-8.c index bd0a9696c..1b7b409be 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-8.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-8.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-9.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-9.c index 6bffc8d2f..bfb76d788 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-9.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-9.c @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/29-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/29-1.c index 9fb115698..3e88b21ee 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/29-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/29-1.c @@ -31,11 +31,8 @@ * The test fails if the signals are not delivered in FIFO order. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /* This test uses some XSI features */ -//#define _XOPEN_SOURCE 600 /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/30-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/30-1.c index a188ccb1a..1659d606d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/30-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/30-1.c @@ -29,8 +29,6 @@ * The test fails if the signals are not delivered in FIFO order. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-1.c index c7b665dac..ccf73423e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-1.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-10.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-10.c index 6928ac658..48291168a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-10.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-10.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-11.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-11.c index c8fc5a57c..9ea9f3213 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-11.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-11.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-12.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-12.c index fbd11c190..cb9183691 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-12.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-12.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-13.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-13.c index 44205d219..f8924a65a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-13.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-13.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-14.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-14.c index ed330f7b4..422fc16f5 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-14.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-14.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-15.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-15.c index 1c920c772..9fe0cfbe7 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-15.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-15.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-16.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-16.c index 1428c70d3..8624e058d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-16.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-16.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-17.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-17.c index e274e7729..8ef027f7d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-17.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-17.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-18.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-18.c index 3f9b1cbcb..f67aa3c95 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-18.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-18.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-19.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-19.c index 3f9b1cbcb..f67aa3c95 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-19.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-19.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-2.c index 3f9b1cbcb..f67aa3c95 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-2.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-20.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-20.c index 603716773..a89fa8456 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-20.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-20.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-21.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-21.c index 377d33bff..d30e18270 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-21.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-21.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-22.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-22.c index 7a88f19a8..35c9f3e42 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-22.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-22.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-23.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-23.c index f7cb3edc3..f5724d913 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-23.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-23.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-24.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-24.c index 36a8f7483..ad9139cde 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-24.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-24.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-25.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-25.c index b26717c96..220fd7353 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-25.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-25.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-26.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-26.c index a02218254..dd519d230 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-26.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-26.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-3.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-3.c index 711e414b6..276890807 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-3.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-4.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-4.c index ff990cc3c..d3f22330b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-4.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-4.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-5.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-5.c index de0e4e7da..9cbd7b091 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-5.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-5.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-6.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-6.c index 1e4b4a5d8..08f4b3283 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-6.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-6.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-7.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-7.c index f78990b0e..c2bdee3dd 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-7.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-7.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-8.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-8.c index 0214f8242..5239bdd18 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-8.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-8.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-9.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-9.c index ec1cbdcc9..289e2862d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-9.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-9.c @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_12-1.in b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_12-1.in index 7959d588a..c5ab2e8af 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_12-1.in +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_12-1.in @@ -16,7 +16,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_12-2.in b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_12-2.in index da0e12b87..8b369805f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_12-2.in +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_12-2.in @@ -14,7 +14,6 @@ NOTE: This test case does not attempt to verify the proper operation of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_13-1.in b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_13-1.in index 97f2c1bfe..1435962c4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_13-1.in +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_13-1.in @@ -15,7 +15,6 @@ of sigaltstack. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_16-1.in b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_16-1.in index 16d47b90d..1d85d4643 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_16-1.in +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_16-1.in @@ -35,11 +35,8 @@ Anyway, a false negative status cannot be returned. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /* This test tests for an XSI feature */ -#define _XOPEN_SOURCE 600 /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_18-1.in b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_18-1.in index 4bccbe595..8d39483dc 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_18-1.in +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_18-1.in @@ -28,8 +28,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_19-1.in b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_19-1.in index 580a11b3e..b90f3e96e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_19-1.in +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_19-1.in @@ -29,8 +29,6 @@ * The test fails if the function is not called */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <pthread.h> #include <stdarg.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_22-1.in b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_22-1.in index 8fc668a46..d804ea190 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_22-1.in +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_22-1.in @@ -26,7 +26,6 @@ otherwise exit -1. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_23-1.in b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_23-1.in index b3452ef05..29567e924 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_23-1.in +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_23-1.in @@ -29,8 +29,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_28-1.in b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_28-1.in index eed80553a..35f2fb847 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_28-1.in +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_28-1.in @@ -31,8 +31,6 @@ * The test fails if a signal handler does not work as expected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L #include <stdarg.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_6-1.in b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_6-1.in index 1909f2587..622c0290b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_6-1.in +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/template_6-1.in @@ -10,7 +10,6 @@ in sa_sigaction identifying the signal-catching function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/1-1.c index f508b53c2..f7087c388 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/1-1.c @@ -19,7 +19,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/10-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/10-1.c index d364c682a..141ee5ea6 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/10-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/10-1.c @@ -9,7 +9,6 @@ successful completion. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/11-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/11-1.c index 9581b0859..0ff047922 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/11-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/11-1.c @@ -17,7 +17,6 @@ - Verify that sigaltstack() returns -1 and sets errno to [EINVAL]. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/12-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/12-1.c index 7ba9db2f2..1430b69fe 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/12-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/12-1.c @@ -17,7 +17,6 @@ - Verify that sigaltstack() returns -1 and sets errno to [ENOMEM]. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/2-1.c index f60226f37..f0a149f06 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/2-1.c @@ -20,7 +20,6 @@ 2. The ss_size member of the hanlder_s is equal to that of original_s. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/3-1.c index c487184aa..46dc12aa3 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/3-1.c @@ -22,7 +22,6 @@ that we defined in the main() function. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/5-1.c index 0b23a2ee8..2fbaef05d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/5-1.c @@ -10,7 +10,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/6-1.c index 99ce89c9c..9f54d0355 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/6-1.c @@ -18,7 +18,6 @@ stack and verify that the ss_flags member of the obtained alternate signal stack is SS_ONSTACK. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/7-1.c index 0e7a9d9b7..d694583ee 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/7-1.c @@ -18,7 +18,6 @@ that the attempt fails. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/8-1.c index 86c768128..cff8b7c64 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/8-1.c @@ -18,7 +18,6 @@ stack and verify that the ss_flags member of the obtained alternate signal stack is SS_DISABLE. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/9-1.c index ea9b7ef91..0236a752e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/9-1.c @@ -23,7 +23,6 @@ * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sighold/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sighold/1-1.c index 35a91d296..6e2e5f0db 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sighold/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sighold/1-1.c @@ -12,7 +12,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sighold/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sighold/2-1.c index e94f4ce0a..8b0a308ec 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sighold/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sighold/2-1.c @@ -9,7 +9,6 @@ */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sighold/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sighold/3-1.c index d12441174..269fe3560 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sighold/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sighold/3-1.c @@ -12,7 +12,6 @@ * errno to EINVAL */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigignore/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigignore/1-1.c index 29c07fa18..4d65ea9e0 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigignore/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigignore/1-1.c @@ -13,7 +13,6 @@ signal is ever raised. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigignore/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigignore/4-1.c index 749366747..509a6fd53 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigignore/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigignore/4-1.c @@ -7,7 +7,6 @@ * * Simply, if sigignore returns a 0 here, test passes. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigignore/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigignore/5-1.c index 226942fd1..612d9f6d1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigignore/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigignore/5-1.c @@ -11,7 +11,6 @@ * After sighold is called on an invalid signal, sigignore() should * return -1 and set errno to EINVAL */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigignore/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigignore/6-1.c index 29e6c9c52..927172221 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigignore/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigignore/6-1.c @@ -11,7 +11,6 @@ to be ignored. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigignore/6-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sigignore/6-2.c index f8b560f19..1888798ec 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigignore/6-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigignore/6-2.c @@ -11,7 +11,6 @@ to be ignored. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigpause/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigpause/1-1.c index 217275cea..c7798d661 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigpause/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigpause/1-1.c @@ -18,7 +18,6 @@ then the test has failed, else it passed. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigpause/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sigpause/1-2.c index 4765e4ecb..ef4e7243a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigpause/1-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigpause/1-2.c @@ -20,7 +20,6 @@ sigpause returned from suspension. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigpause/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigpause/2-1.c index f53cedaad..a703b3266 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigpause/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigpause/2-1.c @@ -28,7 +28,6 @@ PTS_FAIL if return value is 1 */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigpause/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigpause/3-1.c index 72b480637..b7cfdac37 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigpause/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigpause/3-1.c @@ -16,7 +16,6 @@ 3. Verify that sigpause returns -1 and sets errno to EINTR. */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigpause/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigpause/4-1.c index 832388ce5..50cf47993 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigpause/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigpause/4-1.c @@ -10,7 +10,6 @@ */ -#define _XOPEN_SOURCE 600 #include <pthread.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/15-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/15-1.c index c0ac96d49..62f1a42be 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/15-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/15-1.c @@ -9,7 +9,6 @@ */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/17-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/17-1.c index f10397a14..17e72606c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/17-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/17-1.c @@ -8,7 +8,6 @@ * errno to EINVAL. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/12-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/12-1.c index 25d352c06..d913a700a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/12-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/12-1.c @@ -13,7 +13,6 @@ the real or saved set-user-ID of the receiving process. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/3-1.c index dcfb9fac5..8ea6a687c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/3-1.c @@ -16,7 +16,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/4-1.c index 7cc4ce279..9f8700a07 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/4-1.c @@ -18,7 +18,6 @@ is unblocked. */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define SIGTOTEST SIGRTMIN #define NUMCALLS 5 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/5-1.c index aeeccf309..71169cc88 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/5-1.c @@ -18,7 +18,6 @@ is unblocked. */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define SIGTOTEST SIGRTMIN #define NUMCALLS 5 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/6-1.c index f28ebef5c..d9099746e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/6-1.c @@ -23,7 +23,6 @@ has been called. */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define SIGTOTEST SIGRTMIN #define NUMCALLS 5 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/7-1.c index e9f96cd2f..de35100fb 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/7-1.c @@ -22,7 +22,6 @@ biggest. */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/8-1.c index 14704bbd9..0f366fa76 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/8-1.c @@ -19,7 +19,6 @@ - Verify that sigqueue returns 0. */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define SIGTOTEST SIGRTMIN #define NUMCALLS 5 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/9-1.c index 2c289815f..2adba8a16 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/9-1.c @@ -22,7 +22,6 @@ * */ -#define _XOPEN_SOURCE 600 #define SIGTOTEST SIGRTMIN #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/1-1.c index 1b3a2de0e..92311138d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/1-1.c @@ -16,7 +16,6 @@ * 4. Call sigrelse on SIGABRT. * 5. Verify that the handler gets called this time. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/2-1.c index 1694e3e21..9aad5687d 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/2-1.c @@ -8,7 +8,6 @@ * Simply, if sigrelse returns a 0 here, test passes. * */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/3-1.c index 4db3a4900..cd422e89c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/3-1.c @@ -14,7 +14,6 @@ * The invalid signal passed to sigrelse() depends on the argument * passed to this program. */ -#define _XOPEN_SOURCE 600 #include <stdio.h> #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigset/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigset/1-1.c index 0e6af26ea..841c9e57b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigset/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigset/1-1.c @@ -17,7 +17,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigset/10-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigset/10-1.c index 780600f47..6e8e4aa09 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigset/10-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigset/10-1.c @@ -10,7 +10,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigset/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigset/2-1.c index db4c4745b..f16da5d45 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigset/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigset/2-1.c @@ -16,7 +16,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigset/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigset/3-1.c index 05530f0b1..e603f1ced 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigset/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigset/3-1.c @@ -14,7 +14,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigset/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigset/4-1.c index 0830c2380..640d4c0c5 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigset/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigset/4-1.c @@ -10,7 +10,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigset/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigset/5-1.c index 20d33074a..b8bb35310 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigset/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigset/5-1.c @@ -16,7 +16,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigset/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigset/6-1.c index 286ee37fa..664900cda 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigset/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigset/6-1.c @@ -16,7 +16,6 @@ 4. Verify that SIGCHLD is pending. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigset/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigset/7-1.c index 18d4bb4d1..307bde4fd 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigset/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigset/7-1.c @@ -21,7 +21,6 @@ * sure that SIGCHLD is still handled by myhandler. */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigset/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigset/8-1.c index a28313e0f..10921d5d4 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigset/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigset/8-1.c @@ -10,7 +10,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigset/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigset/9-1.c index 6c09fa337..071f7f9cf 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigset/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigset/9-1.c @@ -10,7 +10,6 @@ */ -#define _XOPEN_SOURCE 600 #include <signal.h> #include <stdio.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/1-1.c index 189644c3b..3883d9bfd 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/1-1.c @@ -28,7 +28,6 @@ error margin. */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define TIMERSIGNAL SIGUSR1 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/2-1.c index c5ac7dbe0..a9567e354 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/2-1.c @@ -29,7 +29,6 @@ error margin. */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define TIMERSIGNAL SIGUSR1 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/4-1.c index 5448fdcd4..70ae60fb0 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/4-1.c @@ -15,7 +15,6 @@ 4. Call sigtimedwait() and verify that it returns the signal SIGTOTEST. */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define SIGTOTEST SIGUSR1 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/5-1.c index 0984cc193..bc66b657c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/5-1.c @@ -24,7 +24,6 @@ 4. Verify that sigtimedwait() returns a -1. */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define TIMERSIGNAL SIGUSR1 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/6-1.c index 037fa1ed1..c66959013 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/6-1.c @@ -25,7 +25,6 @@ 4. Verify that sigtimedwait() sets errno to [EAGAIN]. */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define TIMERSIGNAL SIGUSR1 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigwait/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigwait/6-1.c index b468148e7..3df1e1bec 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigwait/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigwait/6-1.c @@ -30,8 +30,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigwait/6-2.c b/testcases/open_posix_testsuite/conformance/interfaces/sigwait/6-2.c index 7d8fcc6fa..f9227729a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigwait/6-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigwait/6-2.c @@ -29,8 +29,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigwait/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigwait/7-1.c index f0206a31b..4abc33715 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigwait/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigwait/7-1.c @@ -28,8 +28,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L /******************************************************************************/ /*************************** standard includes ********************************/ diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/1-1.c index 18378ed4f..8620633d7 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/1-1.c @@ -16,7 +16,6 @@ 4. Call sigwaitinfo() and verify that the signal is no longer pending. */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define SIGTOTEST SIGUSR1 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/2-1.c index 7e3f17168..d2c978188 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/2-1.c @@ -19,7 +19,6 @@ - call sigwaitinfo() and verify that it returns SIGRTMIN */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #include <signal.h> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/5-1.c index 1db765a76..b426ce6ed 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/5-1.c @@ -15,7 +15,6 @@ */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define SIGTOTEST SIGUSR1 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/6-1.c index 3b291a2b2..466386d99 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/6-1.c @@ -15,7 +15,6 @@ */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define SIGTOTEST SIGUSR1 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/7-1.c index 461ab1185..41c0c757b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/7-1.c @@ -19,7 +19,6 @@ */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define SIGTOTEST SIGRTMIN #define NUMCALLS 5 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/8-1.c index 81dd553d9..57bde159a 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/8-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/8-1.c @@ -20,7 +20,6 @@ */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define SIGTOTEST SIGRTMIN #define NUMCALLS 5 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/9-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/9-1.c index 2bbf11e31..f071ef82f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/9-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/9-1.c @@ -15,7 +15,6 @@ 4. Call sigwaitinfo() and verify that it returns the signal SIGTOTEST. */ -#define _XOPEN_SOURCE 600 #define _XOPEN_REALTIME 1 #define SIGTOTEST SIGUSR1 diff --git a/testcases/open_posix_testsuite/functional/threads/Makefile b/testcases/open_posix_testsuite/functional/threads/Makefile deleted file mode 100644 index 6cf8b0642..000000000 --- a/testcases/open_posix_testsuite/functional/threads/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# -# Read COPYING for licensing details. -# -# Ngie Cooper, June 2010 -# - -all clean install test: - @for dir in `ls -d */Makefile 2>/dev/null | sed -e 's,/Makefile$$,,g'`; do \ - $(MAKE) -C $$dir $@; \ - done diff --git a/testcases/open_posix_testsuite/functional/threads/schedule/1-1.c b/testcases/open_posix_testsuite/functional/threads/schedule/1-1.c index d92680154..9d9e12b09 100644 --- a/testcases/open_posix_testsuite/functional/threads/schedule/1-1.c +++ b/testcases/open_posix_testsuite/functional/threads/schedule/1-1.c @@ -19,7 +19,6 @@ * and preempted low priority thread */ -#define _XOPEN_SOURCE 600 #include "affinity.h" #include <pthread.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/stress/threads/fork/NOTES b/testcases/open_posix_testsuite/stress/threads/fork/NOTES index 98f9639a6..e0f721568 100644 --- a/testcases/open_posix_testsuite/stress/threads/fork/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/fork/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/fork/s-c1.c b/testcases/open_posix_testsuite/stress/threads/fork/s-c1.c index 337601998..344d1d337 100644 --- a/testcases/open_posix_testsuite/stress/threads/fork/s-c1.c +++ b/testcases/open_posix_testsuite/stress/threads/fork/s-c1.c @@ -25,13 +25,6 @@ * The test fails if the fork duration tends to grow with the # of processes. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - -/* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/helper.c b/testcases/open_posix_testsuite/stress/threads/helper.c index d54a9204e..a0a0f530d 100644 --- a/testcases/open_posix_testsuite/stress/threads/helper.c +++ b/testcases/open_posix_testsuite/stress/threads/helper.c @@ -47,9 +47,6 @@ done */ -/* This utility should compile on any POSIX-conformant implementation. */ -#define _POSIX_C_SOURCE 200112L - #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_cancel/NOTES b/testcases/open_posix_testsuite/stress/threads/pthread_cancel/NOTES index 98f9639a6..e0f721568 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_cancel/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/pthread_cancel/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_cancel/stress.c b/testcases/open_posix_testsuite/stress/threads/pthread_cancel/stress.c index 92a6f0183..67121469f 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_cancel/stress.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_cancel/stress.c @@ -26,9 +26,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/NOTES b/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/NOTES index d65460ce0..79ec3281c 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/s-c.c b/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/s-c.c index ccefb7b67..6a5c70a82 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/s-c.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/s-c.c @@ -31,13 +31,6 @@ * -> free memory */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need XSI conformance for memory limitation */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/stress.c b/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/stress.c index 005f63fad..9ab252a4c 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/stress.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/stress.c @@ -23,9 +23,6 @@ * -> the whole process stop when receiving signal SIGUSR1 */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/NOTES b/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/NOTES index 05de1c516..e03784dc4 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/s-c.c b/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/s-c.c index 2d8e4b409..2b012118d 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/s-c.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/s-c.c @@ -32,13 +32,6 @@ * -> To be defined. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/stress1.c b/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/stress1.c index cb195e096..197372bb8 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/stress1.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/stress1.c @@ -50,15 +50,7 @@ * To test for pshared primitive, thread B could be in another process. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes - and the mkstemp() routine */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ +/********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ #include <pthread.h> @@ -120,15 +112,6 @@ /*********************************** Test case *****************************************/ /********************************************************************************************/ -#ifdef WITHOUT_XOPEN -/* We define those to avoid compilation errors, but they won't be used */ -#define PTHREAD_MUTEX_DEFAULT 0 -#define PTHREAD_MUTEX_NORMAL 0 -#define PTHREAD_MUTEX_ERRORCHECK 0 -#define PTHREAD_MUTEX_RECURSIVE 0 - -#endif - struct _scenar { int m_type; /* Mutex type to use */ int mc_pshared; /* 0: mutex and cond are process-private (default) ~ !0: Both are process-shared, if supported */ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/stress2.c b/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/stress2.c index cb3f8d04d..d2bc38a9f 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/stress2.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/stress2.c @@ -28,13 +28,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ @@ -95,15 +88,6 @@ /*********************************** Test case *****************************************/ /********************************************************************************************/ -#ifdef WITHOUT_XOPEN -/* We define those to avoid compilation errors, but they won't be used */ -#define PTHREAD_MUTEX_DEFAULT 0 -#define PTHREAD_MUTEX_NORMAL 0 -#define PTHREAD_MUTEX_ERRORCHECK 0 -#define PTHREAD_MUTEX_RECURSIVE 0 - -#endif - struct _scenar { int m_type; /* Mutex type to use */ int mc_pshared; /* 0: mutex and cond are process-private (default) ~ !0: Both are process-shared, if supported */ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/stress.c b/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/stress.c index cb3f8d04d..7dfaa171c 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/stress.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/stress.c @@ -28,13 +28,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/stress1.c b/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/stress1.c index 099140726..e453c753c 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/stress1.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/stress1.c @@ -51,14 +51,6 @@ * To test for pshared primitive, thread B can be in another process. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes - and the mkstemp() routine */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/stress2.c b/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/stress2.c index cb3f8d04d..7dfaa171c 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/stress2.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/stress2.c @@ -28,13 +28,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_create/NOTES b/testcases/open_posix_testsuite/stress/threads/pthread_create/NOTES index 98f9639a6..e0f721568 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_create/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/pthread_create/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_create/s-c1.c b/testcases/open_posix_testsuite/stress/threads/pthread_create/s-c1.c index e23303f87..46235c53e 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_create/s-c1.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_create/s-c1.c @@ -25,13 +25,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_exit/NOTES b/testcases/open_posix_testsuite/stress/threads/pthread_exit/NOTES index 98f9639a6..e0f721568 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_exit/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/pthread_exit/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_exit/stress.c b/testcases/open_posix_testsuite/stress/threads/pthread_exit/stress.c index c39bd7b30..7905573a4 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_exit/stress.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_exit/stress.c @@ -26,13 +26,6 @@ * */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for some routines */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/NOTES b/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/NOTES index 98f9639a6..e0f721568 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/stress.c b/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/stress.c index 7ef8dc4d3..248f37e30 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/stress.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/stress.c @@ -26,9 +26,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_kill/NOTES b/testcases/open_posix_testsuite/stress/threads/pthread_kill/NOTES index 98f9639a6..e0f721568 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_kill/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/pthread_kill/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_kill/stress.c b/testcases/open_posix_testsuite/stress/threads/pthread_kill/stress.c index 68490b577..b9d575e26 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_kill/stress.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_kill/stress.c @@ -26,9 +26,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/NOTES b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/NOTES index d65460ce0..79ec3281c 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/s-c.c b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/s-c.c index 0cd87107a..04ccca949 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/s-c.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/s-c.c @@ -32,13 +32,6 @@ * -> We could additionally lock each mutex after init, and unlock before destroy. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We enable the following line to have mutex attributes defined */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/stress.c b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/stress.c index 5baf7bdef..bdf94be69 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/stress.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/stress.c @@ -23,14 +23,6 @@ * -> the whole process stop when receiving signal SIGUSR1 */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We enable the following line to have mutex attributes defined */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/NOTES b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/NOTES index d65460ce0..79ec3281c 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/s-c1.c b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/s-c1.c index 27a7e4686..0c52e4b21 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/s-c1.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/s-c1.c @@ -30,14 +30,6 @@ * - if the counter equals the amount of threads, */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We enable the following line to have mutex attributes defined */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/s-c2.c b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/s-c2.c index 6ed139e09..4e077383e 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/s-c2.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/s-c2.c @@ -39,14 +39,6 @@ * the mutex threads queues mechanism, as the threads are always different. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We enable the following line to have mutex attributes defined */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/stress.c b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/stress.c index ec4673ad4..187568f78 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/stress.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/stress.c @@ -39,14 +39,6 @@ * NOTE: With gcc/linux, the flag "-lrt" must be specified at link time. */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We enable the following line to have mutex attributes defined */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/NOTES b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/NOTES index d65460ce0..79ec3281c 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/stress.c b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/stress.c index 2ab25d734..e23e20ba0 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/stress.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/stress.c @@ -38,14 +38,7 @@ * -> while we don't receive SIGUSR1 */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* We need the XSI extention for the mutex attributes */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif - /********************************************************************************************/ +/********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ #include <pthread.h> diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_once/NOTES b/testcases/open_posix_testsuite/stress/threads/pthread_once/NOTES index 98f9639a6..e0f721568 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_once/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/pthread_once/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_once/stress.c b/testcases/open_posix_testsuite/stress/threads/pthread_once/stress.c index 35c79b651..9a693bfd3 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_once/stress.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_once/stress.c @@ -26,9 +26,6 @@ */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_self/NOTES b/testcases/open_posix_testsuite/stress/threads/pthread_self/NOTES index 98f9639a6..e0f721568 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_self/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/pthread_self/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_self/stress.c b/testcases/open_posix_testsuite/stress/threads/pthread_self/stress.c index 7a71e45aa..1767040c0 100644 --- a/testcases/open_posix_testsuite/stress/threads/pthread_self/stress.c +++ b/testcases/open_posix_testsuite/stress/threads/pthread_self/stress.c @@ -25,13 +25,6 @@ */ - /* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - - /* Some routines are part of the XSI Extensions */ -#ifndef WITHOUT_XOPEN -#define _XOPEN_SOURCE 600 -#endif /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/sem_getvalue/NOTES b/testcases/open_posix_testsuite/stress/threads/sem_getvalue/NOTES index 98f9639a6..e0f721568 100644 --- a/testcases/open_posix_testsuite/stress/threads/sem_getvalue/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/sem_getvalue/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/sem_init/NOTES b/testcases/open_posix_testsuite/stress/threads/sem_init/NOTES index 98f9639a6..e0f721568 100644 --- a/testcases/open_posix_testsuite/stress/threads/sem_init/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/sem_init/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/sem_init/s-c1.c b/testcases/open_posix_testsuite/stress/threads/sem_init/s-c1.c index 10faff77f..4a5d9d851 100644 --- a/testcases/open_posix_testsuite/stress/threads/sem_init/s-c1.c +++ b/testcases/open_posix_testsuite/stress/threads/sem_init/s-c1.c @@ -25,9 +25,6 @@ * or if the failure at last semaphore creation is unexpected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/stress/threads/sem_open/NOTES b/testcases/open_posix_testsuite/stress/threads/sem_open/NOTES index 98f9639a6..e0f721568 100644 --- a/testcases/open_posix_testsuite/stress/threads/sem_open/NOTES +++ b/testcases/open_posix_testsuite/stress/threads/sem_open/NOTES @@ -12,9 +12,6 @@ Please report any problems on the forum (see on top of this file) You may want to add -DVERBOSE=2 to have verbose tests, or -DVERBOSE=0 to have silent tests (for batchs for example). -You may add -DWITHOUT_XOPEN to disable the XSI features -from the tests. Some of the tests won't work with this option. - You may want to add -DSCALABILITY_FACTOR=X, where X is an integer, to change the stress programs load (default is 1). diff --git a/testcases/open_posix_testsuite/stress/threads/sem_open/s-c1.c b/testcases/open_posix_testsuite/stress/threads/sem_open/s-c1.c index a9ef3acd6..7a20b187e 100644 --- a/testcases/open_posix_testsuite/stress/threads/sem_open/s-c1.c +++ b/testcases/open_posix_testsuite/stress/threads/sem_open/s-c1.c @@ -25,9 +25,6 @@ * or if the failure at last semaphore creation is unexpected. */ -/* We are testing conformance to IEEE Std 1003.1, 2003 Edition */ -#define _POSIX_C_SOURCE 200112L - /********************************************************************************************/ /****************************** standard includes *****************************************/ /********************************************************************************************/ diff --git a/testcases/open_posix_testsuite/tools/t0.c b/testcases/open_posix_testsuite/tools/t0.c index e8a07ae22..0033635ac 100644 --- a/testcases/open_posix_testsuite/tools/t0.c +++ b/testcases/open_posix_testsuite/tools/t0.c @@ -33,9 +33,6 @@ * */ -/* This utility should compile on any POSIX-conformant implementation. */ -#define _POSIX_C_SOURCE 200112L - #include <sys/types.h> #include <sys/wait.h> #include <errno.h> |