aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/monniaux/multithreaded_volatile/volatile.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/monniaux/multithreaded_volatile/volatile.c b/test/monniaux/multithreaded_volatile/volatile.c
index d4e08d6d..f8ffee2d 100644
--- a/test/monniaux/multithreaded_volatile/volatile.c
+++ b/test/monniaux/multithreaded_volatile/volatile.c
@@ -1,9 +1,6 @@
#include <stdio.h>
#include <time.h>
-
-int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
- void *(*start_routine) (void *), void *arg);
-int pthread_join(pthread_t thread, void **retval);
+#include <pthread.h>
typedef unsigned data;