summaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2011-09-07 19:38:22 +0200
committerThomas Schwinge <thomas@schwinge.name>2011-09-07 19:38:22 +0200
commit3def2cde1dc7e071976a174aa43ca076ae356a13 (patch)
treec113937092c106f1e4d7e8753b6f434b4f4f4578 /sysdeps/generic
parenta86a4a149b67a83d5c08238d0b802d372332bfba (diff)
Tiny build and GCC warning fixes.
* pthread/cthreads-compat.c: #include <stddef.h> for NULL. * pthread/pt-exit.c (pthread_exit): Remove stray need_dealloc variable. * sysdeps/generic/pt-attr-getschedparam.c: #include <string.h> for memcpy. * sysdeps/mach/hurd/ia32/pt-setup.c (stack_setup): Apply some more typecasting. * tests/test-1.c: #include <assert.h>. * tests/test-6.c: Likewise. * tests/test-7.c: Likewise. * tests/test-16.c (handler): Take parameters for sa_handler, not sa_sigaction.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/pt-attr-getschedparam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/generic/pt-attr-getschedparam.c b/sysdeps/generic/pt-attr-getschedparam.c
index 6c3f15be..190cf9d0 100644
--- a/sysdeps/generic/pt-attr-getschedparam.c
+++ b/sysdeps/generic/pt-attr-getschedparam.c
@@ -19,6 +19,7 @@
#include <pthread.h>
#include <sched.h>
+#include <string.h>
#include <pt-internal.h>