From 769e2108a0f5fc49eff9f3addbaf5f0646bcb253 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 7 Sep 2011 19:38:22 +0200 Subject: Tiny build and GCC warning fixes. * pthread/cthreads-compat.c: #include for NULL. * pthread/pt-exit.c (pthread_exit): Remove stray need_dealloc variable. * sysdeps/generic/pt-attr-getschedparam.c: #include for memcpy. * sysdeps/mach/hurd/ia32/pt-setup.c (stack_setup): Apply some more typecasting. * tests/test-1.c: #include . * tests/test-6.c: Likewise. * tests/test-7.c: Likewise. * tests/test-16.c (handler): Take parameters for sa_handler, not sa_sigaction. --- pthread/cthreads-compat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pthread/cthreads-compat.c') 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 #include +#include typedef void *cthread_t; typedef void *(*cthread_fn_t) (void *arg); -- cgit v1.2.3