extensive header cleanup for standards conformance & correctness

thanks to Peter Mazinger (psm) for pointing many of these issues out
and submitting a patch on which this commit is loosely based
This commit is contained in:
Rich Felker 2011-02-14 18:41:25 -05:00
commit 74eea628cf
15 changed files with 64 additions and 56 deletions

View file

@ -5,13 +5,6 @@
extern "C" {
#endif
#undef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void*)0)
#endif
#define __NEED_size_t
#include <bits/alltypes.h>