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

@ -6,6 +6,7 @@ extern "C" {
#endif
#define __NEED_nl_item
#define __NEED_locale_t
#include <bits/alltypes.h>
@ -77,6 +78,7 @@ extern "C" {
#define NOSTR 0x50003
char *nl_langinfo(nl_item);
char *nl_langinfo_l(nl_item, locale_t);
#ifdef __cplusplus
}