Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-01-24 04:09:40 +0300
committerChristopher Faylor <me@cgf.cx>2003-01-24 04:09:40 +0300
commit31d7abadfee7da27924f7130e470ea701b39bc3e (patch)
tree71dff30bdf30a42e0ad50a3b2eef3b00e8c95d56 /winsup/testsuite/winsup.api/pthread
parent1905b7393cf9555bfbebd2f6b345877609760dff (diff)
Perform more C warning fixup on all C source files and headers.
Diffstat (limited to 'winsup/testsuite/winsup.api/pthread')
-rw-r--r--winsup/testsuite/winsup.api/pthread/cancel9.c2
-rw-r--r--winsup/testsuite/winsup.api/pthread/test.h11
2 files changed, 9 insertions, 4 deletions
diff --git a/winsup/testsuite/winsup.api/pthread/cancel9.c b/winsup/testsuite/winsup.api/pthread/cancel9.c
index f9f05cc65..1cbf62d2c 100644
--- a/winsup/testsuite/winsup.api/pthread/cancel9.c
+++ b/winsup/testsuite/winsup.api/pthread/cancel9.c
@@ -40,6 +40,8 @@
*/
#include "test.h"
+#include <assert.h>
+#include <sys/wait.h>
static pid_t pid;
diff --git a/winsup/testsuite/winsup.api/pthread/test.h b/winsup/testsuite/winsup.api/pthread/test.h
index 3e662a315..0e7246420 100644
--- a/winsup/testsuite/winsup.api/pthread/test.h
+++ b/winsup/testsuite/winsup.api/pthread/test.h
@@ -7,12 +7,15 @@
#ifndef _PTHREAD_TEST_H_
#define _PTHREAD_TEST_H_
-#include "pthread.h"
-#include "sched.h"
-#include "semaphore.h"
+#include <pthread.h>
+#include <sched.h>
+#include <semaphore.h>
#include <stdio.h>
-#include <windows.h>
+#include <unistd.h>
+#include <stdlib.h>
#include <errno.h>
+#include <assert.h>
+#include <windows.h>
/* #define assert(x) do { fprint (stderr, "assertion failed\n"); exit(1) } while (0) */