From 9b978ffe8b67bdccd1e0c5bf3ef3c65d60bc6cd3 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 23 Jan 2003 21:21:28 +0000 Subject: * 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. --- winsup/testsuite/winsup.api/pthread/mainthreadexits.c | 1 + winsup/testsuite/winsup.api/pthread/test.h | 2 +- winsup/testsuite/winsup.api/pthread/threadidafterfork.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'winsup/testsuite/winsup.api/pthread') 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 #include #include +#include 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 #include #include +#include static void * TestThread ( void * ); -- cgit v1.2.3