summaryrefslogtreecommitdiff
path: root/pthread
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-09-15 00:08:41 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-09-15 00:08:41 +0200
commit3a931fd6e0d8212fa3d84554cb35f55e62f2dc52 (patch)
tree936e8c83f99d58b73fb49a41516b75fa5aa8c298 /pthread
parent5288bf31ee255aafe394304074c1ec6ccb290448 (diff)
parent769e2108a0f5fc49eff9f3addbaf5f0646bcb253 (diff)
Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/libpthread
Diffstat (limited to 'pthread')
-rw-r--r--pthread/cthreads-compat.c1
-rw-r--r--pthread/pt-exit.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/pthread/cthreads-compat.c b/pthread/cthreads-compat.c
index e0536ef..799d3a4 100644
--- a/pthread/cthreads-compat.c
+++ b/pthread/cthreads-compat.c
@@ -19,6 +19,7 @@
#include <assert.h>
#include <pthread.h>
+#include <stddef.h>
typedef void *cthread_t;
typedef void *(*cthread_fn_t) (void *arg);
diff --git a/pthread/pt-exit.c b/pthread/pt-exit.c
index 5fe0ba8..3b3853e 100644
--- a/pthread/pt-exit.c
+++ b/pthread/pt-exit.c
@@ -35,7 +35,6 @@ pthread_exit (void *status)
struct __pthread *self = _pthread_self ();
struct __pthread_cancelation_handler **handlers;
int oldstate;
- int need_dealloc;
/* Run any cancelation handlers. According to POSIX, the
cancellation cleanup handlers should be called with cancellation