diff options
-rw-r--r-- | arch/arm/bits/alltypes.h.in | 1 | ||||
-rw-r--r-- | arch/i386/bits/alltypes.h.in | 1 | ||||
-rw-r--r-- | arch/microblaze/bits/alltypes.h.in | 1 | ||||
-rw-r--r-- | arch/mips/bits/alltypes.h.in | 1 | ||||
-rw-r--r-- | arch/powerpc/bits/alltypes.h.in | 1 | ||||
-rw-r--r-- | arch/x86_64/bits/alltypes.h.in | 1 | ||||
-rw-r--r-- | include/alltypes.h.in | 2 |
7 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/bits/alltypes.h.in b/arch/arm/bits/alltypes.h.in index 764a246..bd23a6a 100644 --- a/arch/arm/bits/alltypes.h.in +++ b/arch/arm/bits/alltypes.h.in @@ -1,5 +1,6 @@ #define _Addr int #define _Int64 long long +#define _Reg int TYPEDEF __builtin_va_list va_list; TYPEDEF __builtin_va_list __isoc_va_list; diff --git a/arch/i386/bits/alltypes.h.in b/arch/i386/bits/alltypes.h.in index 04fd1cb..efd2c07 100644 --- a/arch/i386/bits/alltypes.h.in +++ b/arch/i386/bits/alltypes.h.in @@ -1,5 +1,6 @@ #define _Addr int #define _Int64 long long +#define _Reg int #if __GNUC__ >= 3 TYPEDEF __builtin_va_list va_list; diff --git a/arch/microblaze/bits/alltypes.h.in b/arch/microblaze/bits/alltypes.h.in index eb842aa..6bd7942 100644 --- a/arch/microblaze/bits/alltypes.h.in +++ b/arch/microblaze/bits/alltypes.h.in @@ -1,5 +1,6 @@ #define _Addr int #define _Int64 long long +#define _Reg int TYPEDEF __builtin_va_list va_list; TYPEDEF __builtin_va_list __isoc_va_list; diff --git a/arch/mips/bits/alltypes.h.in b/arch/mips/bits/alltypes.h.in index eb842aa..6bd7942 100644 --- a/arch/mips/bits/alltypes.h.in +++ b/arch/mips/bits/alltypes.h.in @@ -1,5 +1,6 @@ #define _Addr int #define _Int64 long long +#define _Reg int TYPEDEF __builtin_va_list va_list; TYPEDEF __builtin_va_list __isoc_va_list; diff --git a/arch/powerpc/bits/alltypes.h.in b/arch/powerpc/bits/alltypes.h.in index 1c3fe28..e9d8dd8 100644 --- a/arch/powerpc/bits/alltypes.h.in +++ b/arch/powerpc/bits/alltypes.h.in @@ -1,5 +1,6 @@ #define _Addr int #define _Int64 long long +#define _Reg int TYPEDEF __builtin_va_list va_list; TYPEDEF __builtin_va_list __isoc_va_list; diff --git a/arch/x86_64/bits/alltypes.h.in b/arch/x86_64/bits/alltypes.h.in index b9bff86..277e944 100644 --- a/arch/x86_64/bits/alltypes.h.in +++ b/arch/x86_64/bits/alltypes.h.in @@ -1,5 +1,6 @@ #define _Addr long #define _Int64 long +#define _Reg long TYPEDEF __builtin_va_list va_list; TYPEDEF __builtin_va_list __isoc_va_list; diff --git a/include/alltypes.h.in b/include/alltypes.h.in index f3481fc..644c61d 100644 --- a/include/alltypes.h.in +++ b/include/alltypes.h.in @@ -17,7 +17,7 @@ TYPEDEF unsigned _Int64 uint64_t; TYPEDEF unsigned _Int64 uintmax_t; TYPEDEF unsigned mode_t; -TYPEDEF unsigned nlink_t; +TYPEDEF unsigned _Reg nlink_t; TYPEDEF _Int64 off_t; TYPEDEF unsigned _Int64 ino_t; TYPEDEF unsigned _Int64 dev_t; |