include cleanups: remove unused headers and add feature test macros

This commit is contained in:
Szabolcs Nagy 2013-12-12 05:09:18 +00:00
commit 571744447c
157 changed files with 68 additions and 207 deletions

View file

@ -1,5 +1,4 @@
#include "pthread_impl.h"
#include <string.h>
int pthread_attr_init(pthread_attr_t *a)
{

View file

@ -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)

View file

@ -1,6 +1,5 @@
#include "pthread_impl.h"
#include <semaphore.h>
#include <string.h>
static struct chain {
struct chain *next;