From 74eea628cf43355ba2b227f0bb3c31697d637761 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 14 Feb 2011 18:41:25 -0500 Subject: 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 --- include/bits/alltypes.h.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/bits/alltypes.h.sh') diff --git a/include/bits/alltypes.h.sh b/include/bits/alltypes.h.sh index 595bf13e..c909d7b0 100755 --- a/include/bits/alltypes.h.sh +++ b/include/bits/alltypes.h.sh @@ -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 -- cgit v1.2.1