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,3 +1,4 @@
#define _GNU_SOURCE
#include "stdio_impl.h"
#include <string.h>

View file

@ -1,3 +1,4 @@
#include <wchar.h>
#include "stdio_impl.h"
#define SH (8*sizeof(int)-1)

View file

@ -1,4 +1,3 @@
#include <stdio.h>
#include <stdarg.h>
#include <wchar.h>

View file

@ -1,4 +1,3 @@
#include <stdio.h>
#include <stdarg.h>
#include <wchar.h>
#include "libc.h"

View file

@ -5,10 +5,7 @@
#include <wctype.h>
#include <limits.h>
#include <string.h>
#include <errno.h>
#include <math.h>
#include <float.h>
#include <inttypes.h>
#include <stdint.h>
#include "stdio_impl.h"
#include "shgetc.h"

View file

@ -6,9 +6,6 @@
#include <wctype.h>
#include <limits.h>
#include <string.h>
#include <errno.h>
#include <math.h>
#include <float.h>
#include "stdio_impl.h"
#include "shgetc.h"