diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-10-30 20:10:37 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-10-30 20:10:37 +0100 |
commit | 916e61485d5434e0b4052832ca331cf0eb315538 (patch) | |
tree | c747e26d7149265ecf07489d7a740a76e6a0138a /libpthread/tests | |
parent | 532f60cb8ebdb47af86a4dbe7b551c5b5835f763 (diff) | |
parent | 221b60d8f0cf39511d26e275b3a0e26a4bdc4f15 (diff) |
Merge branch 'libpthread' into libpthread-moved
Diffstat (limited to 'libpthread/tests')
-rw-r--r-- | libpthread/tests/test-1.c | 1 | ||||
-rw-r--r-- | libpthread/tests/test-16.c | 2 | ||||
-rw-r--r-- | libpthread/tests/test-6.c | 1 | ||||
-rw-r--r-- | libpthread/tests/test-7.c | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/libpthread/tests/test-1.c b/libpthread/tests/test-1.c index 318fd6e9..6ec1afb3 100644 --- a/libpthread/tests/test-1.c +++ b/libpthread/tests/test-1.c @@ -1,6 +1,7 @@ #define _GNU_SOURCE #include <pthread.h> +#include <assert.h> #include <unistd.h> #include <error.h> #include <errno.h> diff --git a/libpthread/tests/test-16.c b/libpthread/tests/test-16.c index b6a52d01..3660f5f7 100644 --- a/libpthread/tests/test-16.c +++ b/libpthread/tests/test-16.c @@ -33,7 +33,7 @@ test (void *arg) } static void -handler (int sig, siginfo_t *info, void *context) +handler (int sig) { assert (pthread_equal (pthread_self (), testthread)); printf ("handler: %d\n", pthread_self ()); diff --git a/libpthread/tests/test-6.c b/libpthread/tests/test-6.c index 98aa8ba7..edf2919e 100644 --- a/libpthread/tests/test-6.c +++ b/libpthread/tests/test-6.c @@ -3,6 +3,7 @@ #include <pthread.h> #include <stdio.h> #include <error.h> +#include <assert.h> #include <errno.h> #define THREADS 500 diff --git a/libpthread/tests/test-7.c b/libpthread/tests/test-7.c index bd97acfa..8159be34 100644 --- a/libpthread/tests/test-7.c +++ b/libpthread/tests/test-7.c @@ -1,6 +1,7 @@ #define _GNU_SOURCE #include <pthread.h> +#include <assert.h> #include <stdio.h> #include <error.h> #include <errno.h> |