summaryrefslogtreecommitdiff
path: root/src/thread
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread')
-rw-r--r--src/thread/pthread_attr_init.c1
-rw-r--r--src/thread/pthread_sigmask.c1
-rw-r--r--src/thread/synccall.c1
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;