diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-12-12 05:09:18 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-12-12 05:09:18 +0000 |
commit | 571744447c23f91feb6439948f3a619aca850dfb (patch) | |
tree | 996c6f90721d69494683ae213ec22784d02a899a /src/thread | |
parent | ac45692a53a1b8d2ede329d91652d43c1fb5dc8d (diff) | |
download | musl-571744447c23f91feb6439948f3a619aca850dfb.tar.gz musl-571744447c23f91feb6439948f3a619aca850dfb.tar.bz2 musl-571744447c23f91feb6439948f3a619aca850dfb.tar.xz musl-571744447c23f91feb6439948f3a619aca850dfb.zip |
include cleanups: remove unused headers and add feature test macros
Diffstat (limited to 'src/thread')
-rw-r--r-- | src/thread/pthread_attr_init.c | 1 | ||||
-rw-r--r-- | src/thread/pthread_sigmask.c | 1 | ||||
-rw-r--r-- | src/thread/synccall.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/thread/pthread_attr_init.c b/src/thread/pthread_attr_init.c index 66934889..969e0a38 100644 --- a/src/thread/pthread_attr_init.c +++ b/src/thread/pthread_attr_init.c @@ -1,5 +1,4 @@ #include "pthread_impl.h" -#include <string.h> int pthread_attr_init(pthread_attr_t *a) { diff --git a/src/thread/pthread_sigmask.c b/src/thread/pthread_sigmask.c index b274bd0d..88c333f6 100644 --- a/src/thread/pthread_sigmask.c +++ b/src/thread/pthread_sigmask.c @@ -1,6 +1,5 @@ #include <signal.h> #include <errno.h> -#include <pthread.h> #include "syscall.h" int pthread_sigmask(int how, const sigset_t *restrict set, sigset_t *restrict old) diff --git a/src/thread/synccall.c b/src/thread/synccall.c index 4127a413..a21578dc 100644 --- a/src/thread/synccall.c +++ b/src/thread/synccall.c @@ -1,6 +1,5 @@ #include "pthread_impl.h" #include <semaphore.h> -#include <string.h> static struct chain { struct chain *next; |