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

@ -49,6 +49,8 @@
#define NL_SETMAX 255
#define NL_TEXTMAX 2048
#endif
/* POSIX/SUS requirements follow. These numbers come directly
* from SUS and have nothing to do with the host system. */
@ -56,6 +58,7 @@
#define _POSIX_AIO_MAX 1
#define _POSIX_ARG_MAX 4096
#define _POSIX_CHILD_MAX 25
#define _POSIX_CLOCKRES_MIN 20000000
#define _POSIX_DELAYTIMER_MAX 32
#define _POSIX_HOST_NAME_MAX 255
#define _POSIX_LINK_MAX 8
@ -104,5 +107,3 @@
#define _XOPEN_PATH_MAX 1024
#endif
#endif