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:
parent
80695b1d1e
commit
74eea628cf
15 changed files with 64 additions and 56 deletions
|
|
@ -68,9 +68,9 @@ TYPEDEF long long intmax_t;
|
|||
TYPEDEF unsigned long long uintmax_t;
|
||||
|
||||
TYPEDEF long time_t;
|
||||
TYPEDEF unsigned int useconds_t;
|
||||
TYPEDEF unsigned useconds_t;
|
||||
TYPEDEF int suseconds_t;
|
||||
STRUCT timeval { time_t tv_sec; long tv_usec; };
|
||||
STRUCT timeval { time_t tv_sec; int tv_usec; };
|
||||
STRUCT timespec { time_t tv_sec; long tv_nsec; };
|
||||
|
||||
TYPEDEF int pid_t;
|
||||
|
|
@ -111,5 +111,6 @@ TYPEDEF int nl_item;
|
|||
|
||||
TYPEDEF struct __locale * locale_t;
|
||||
|
||||
STRUCT iovec { void *iov_base; size_t iov_len; };
|
||||
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue