* 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.
This commit is contained in:
Christopher Faylor
2003-01-23 21:21:28 +00:00
parent d8f0f146b8
commit 9b978ffe8b
19 changed files with 128 additions and 89 deletions

View File

@@ -7,6 +7,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
sigset_t unblock_sigsegv;
jmp_buf r;
@@ -27,7 +28,7 @@ int fd;
*/
void
perror_exit (char *str, int code)
perror_exit (const char *str, int code)
{
printf ("%s: %s\n", str, strerror (errno));
exit (code);