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,4 +1,3 @@
#include <string.h>
#include <time.h>
#include <stdint.h>

View file

@ -1,12 +1,7 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <limits.h>
#include <errno.h>
#include <sys/stat.h>
#include "libc.h"
char *__randname(char *);

View file

@ -1,6 +1,6 @@
#define _GNU_SOURCE
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/stat.h>