diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-09-15 00:08:41 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-09-15 00:08:41 +0200 |
commit | 3a931fd6e0d8212fa3d84554cb35f55e62f2dc52 (patch) | |
tree | 936e8c83f99d58b73fb49a41516b75fa5aa8c298 /tests | |
parent | 5288bf31ee255aafe394304074c1ec6ccb290448 (diff) | |
parent | 769e2108a0f5fc49eff9f3addbaf5f0646bcb253 (diff) |
Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/libpthread
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-1.c | 1 | ||||
-rw-r--r-- | tests/test-16.c | 2 | ||||
-rw-r--r-- | tests/test-6.c | 1 | ||||
-rw-r--r-- | tests/test-7.c | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/tests/test-1.c b/tests/test-1.c index 318fd6e..6ec1afb 100644 --- a/tests/test-1.c +++ b/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/tests/test-16.c b/tests/test-16.c index b6a52d0..3660f5f 100644 --- a/tests/test-16.c +++ b/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/tests/test-6.c b/tests/test-6.c index 98aa8ba..edf2919 100644 --- a/tests/test-6.c +++ b/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/tests/test-7.c b/tests/test-7.c index bd97acf..8159be3 100644 --- a/tests/test-7.c +++ b/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> |