From 47cf4919fc834a917185ace26dfd1c2ab760676d Mon Sep 17 00:00:00 2001 From: rofl0r Date: Tue, 2 Apr 2013 04:38:23 +0200 Subject: re-add useconds_t this type was removed back in 5243e5f1606a9c6fcf01414e , because it was removed from the XSI specs. however some apps use it. since it's in the POSIX reserved namespace, we can expose it unconditionally. --- arch/arm/bits/alltypes.h.sh | 1 + arch/i386/bits/alltypes.h.sh | 1 + arch/microblaze/bits/alltypes.h.sh | 1 + arch/mips/bits/alltypes.h.sh | 1 + arch/powerpc/bits/alltypes.h.sh | 1 + arch/x86_64/bits/alltypes.h.sh | 1 + 6 files changed, 6 insertions(+) (limited to 'arch') diff --git a/arch/arm/bits/alltypes.h.sh b/arch/arm/bits/alltypes.h.sh index a531ee0f..abe782d9 100755 --- a/arch/arm/bits/alltypes.h.sh +++ b/arch/arm/bits/alltypes.h.sh @@ -61,6 +61,7 @@ TYPEDEF double double_t; TYPEDEF long time_t; TYPEDEF int suseconds_t; +TYPEDEF unsigned useconds_t; STRUCT timeval { time_t tv_sec; int tv_usec; }; STRUCT timespec { time_t tv_sec; long tv_nsec; }; diff --git a/arch/i386/bits/alltypes.h.sh b/arch/i386/bits/alltypes.h.sh index 13def835..579aa1af 100755 --- a/arch/i386/bits/alltypes.h.sh +++ b/arch/i386/bits/alltypes.h.sh @@ -74,6 +74,7 @@ TYPEDEF long double double_t; TYPEDEF long time_t; TYPEDEF int suseconds_t; +TYPEDEF unsigned useconds_t; STRUCT timeval { time_t tv_sec; int tv_usec; }; STRUCT timespec { time_t tv_sec; long tv_nsec; }; diff --git a/arch/microblaze/bits/alltypes.h.sh b/arch/microblaze/bits/alltypes.h.sh index 2397c6cd..6ddd0823 100755 --- a/arch/microblaze/bits/alltypes.h.sh +++ b/arch/microblaze/bits/alltypes.h.sh @@ -61,6 +61,7 @@ TYPEDEF double double_t; TYPEDEF long time_t; TYPEDEF int suseconds_t; +TYPEDEF unsigned useconds_t; STRUCT timeval { time_t tv_sec; int tv_usec; }; STRUCT timespec { time_t tv_sec; long tv_nsec; }; diff --git a/arch/mips/bits/alltypes.h.sh b/arch/mips/bits/alltypes.h.sh index 2397c6cd..6ddd0823 100755 --- a/arch/mips/bits/alltypes.h.sh +++ b/arch/mips/bits/alltypes.h.sh @@ -61,6 +61,7 @@ TYPEDEF double double_t; TYPEDEF long time_t; TYPEDEF int suseconds_t; +TYPEDEF unsigned useconds_t; STRUCT timeval { time_t tv_sec; int tv_usec; }; STRUCT timespec { time_t tv_sec; long tv_nsec; }; diff --git a/arch/powerpc/bits/alltypes.h.sh b/arch/powerpc/bits/alltypes.h.sh index f3dac12a..417e2919 100755 --- a/arch/powerpc/bits/alltypes.h.sh +++ b/arch/powerpc/bits/alltypes.h.sh @@ -61,6 +61,7 @@ TYPEDEF double double_t; TYPEDEF long time_t; TYPEDEF int suseconds_t; +TYPEDEF unsigned useconds_t; STRUCT timeval { time_t tv_sec; int tv_usec; }; STRUCT timespec { time_t tv_sec; long tv_nsec; }; diff --git a/arch/x86_64/bits/alltypes.h.sh b/arch/x86_64/bits/alltypes.h.sh index bc9a3cc0..62e77ac9 100755 --- a/arch/x86_64/bits/alltypes.h.sh +++ b/arch/x86_64/bits/alltypes.h.sh @@ -60,6 +60,7 @@ TYPEDEF double double_t; TYPEDEF long time_t; TYPEDEF long suseconds_t; +TYPEDEF unsigned useconds_t; STRUCT timeval { time_t tv_sec; long tv_usec; }; STRUCT timespec { time_t tv_sec; long tv_nsec; }; -- cgit v1.2.3-70-g09d2