diff options
author | Christopher Faylor <me@cgf.cx> | 2003-01-24 00:21:28 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-01-24 00:21:28 +0300 |
commit | 9b978ffe8b67bdccd1e0c5bf3ef3c65d60bc6cd3 (patch) | |
tree | 9c1a9a440a79bae5c23602dd05d16645ef4c9419 /winsup/testsuite/winsup.api/pthread | |
parent | d8f0f146b8befe92d951c5e5907d41e23f376679 (diff) |
* libltp/include/test.h: Fix C warnings.
* winsup.api/checksignal.c: Ditto.
* winsup.api/crlf.c: Ditto.
* winsup.api/devzero.c: Ditto.
* winsup.api/iospeed.c: Ditto.
* winsup.api/mmaptest01.c: Ditto.
* winsup.api/mmaptest02.c: Ditto.
* winsup.api/mmaptest03.c: Ditto.
* winsup.api/mmaptest04.c: Ditto.
* winsup.api/nullgetcwd.c: Ditto.
* winsup.api/sigchld.c: Ditto.
* winsup.api/signal-into-win32-api.c: Ditto.
* winsup.api/systemcall.c: Ditto.
* winsup.api/waitpid.c: Ditto.
* winsup.api/pthread/mainthreadexits.c: Ditto.
* winsup.api/pthread/test.h: Ditto.
* winsup.api/pthread/threadidafterfork.c: Ditto.
* Makefile.in: Remove cygrun.exe from RUNTIME since it is built here now.
Diffstat (limited to 'winsup/testsuite/winsup.api/pthread')
-rw-r--r-- | winsup/testsuite/winsup.api/pthread/mainthreadexits.c | 1 | ||||
-rw-r--r-- | winsup/testsuite/winsup.api/pthread/test.h | 2 | ||||
-rw-r--r-- | winsup/testsuite/winsup.api/pthread/threadidafterfork.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/winsup/testsuite/winsup.api/pthread/mainthreadexits.c b/winsup/testsuite/winsup.api/pthread/mainthreadexits.c index dbd6969dd..b3a3653b8 100644 --- a/winsup/testsuite/winsup.api/pthread/mainthreadexits.c +++ b/winsup/testsuite/winsup.api/pthread/mainthreadexits.c @@ -1,6 +1,7 @@ #include <stdio.h> #include <unistd.h> #include <pthread.h> +#include <stdlib.h> static void * Thread (void *); diff --git a/winsup/testsuite/winsup.api/pthread/test.h b/winsup/testsuite/winsup.api/pthread/test.h index a9a211dd7..3e662a315 100644 --- a/winsup/testsuite/winsup.api/pthread/test.h +++ b/winsup/testsuite/winsup.api/pthread/test.h @@ -16,7 +16,7 @@ /* #define assert(x) do { fprint (stderr, "assertion failed\n"); exit(1) } while (0) */ -char * error_string[] = { +const char * error_string[] = { "ZERO_or_EOK", "EPERM", "ENOFILE_or_ENOENT", diff --git a/winsup/testsuite/winsup.api/pthread/threadidafterfork.c b/winsup/testsuite/winsup.api/pthread/threadidafterfork.c index da93a4d3f..473eaecfd 100644 --- a/winsup/testsuite/winsup.api/pthread/threadidafterfork.c +++ b/winsup/testsuite/winsup.api/pthread/threadidafterfork.c @@ -2,6 +2,7 @@ #include <unistd.h> #include <sys/wait.h> #include <pthread.h> +#include <stdlib.h> static void * TestThread ( void * ); |