diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-09-06 16:18:01 +0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-13 10:07:03 -0700 |
commit | 595d7eeae698d985ea2da9d3b98d27af9e035f6c (patch) | |
tree | bc6557125f58c9a585eb907764224baab6182b7d /system | |
parent | b9c8b95795849264c58be7d1496da3c4078df96c (diff) |
Change various 64 bit typedefs over to 32 bit.
This also removes all of the changes that were needed for those
typedefs to be 64 bit.
Diffstat (limited to 'system')
-rw-r--r-- | system/include/libc/bits/alltypes.h | 12 | ||||
-rw-r--r-- | system/include/libc/sys/resource.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/system/include/libc/bits/alltypes.h b/system/include/libc/bits/alltypes.h index e7f3bdc7..c4eb1f84 100644 --- a/system/include/libc/bits/alltypes.h +++ b/system/include/libc/bits/alltypes.h @@ -210,17 +210,17 @@ typedef unsigned _Reg nlink_t; #endif #if defined(__NEED_off_t) && !defined(__DEFINED_off_t) -typedef _Int64 off_t; +typedef int off_t; #define __DEFINED_off_t #endif #if defined(__NEED_ino_t) && !defined(__DEFINED_ino_t) -typedef unsigned _Int64 ino_t; +typedef unsigned int ino_t; #define __DEFINED_ino_t #endif #if defined(__NEED_dev_t) && !defined(__DEFINED_dev_t) -typedef unsigned _Int64 dev_t; +typedef unsigned int dev_t; #define __DEFINED_dev_t #endif @@ -230,17 +230,17 @@ typedef long blksize_t; #endif #if defined(__NEED_blkcnt_t) && !defined(__DEFINED_blkcnt_t) -typedef _Int64 blkcnt_t; +typedef int blkcnt_t; #define __DEFINED_blkcnt_t #endif #if defined(__NEED_fsblkcnt_t) && !defined(__DEFINED_fsblkcnt_t) -typedef unsigned _Int64 fsblkcnt_t; +typedef unsigned int fsblkcnt_t; #define __DEFINED_fsblkcnt_t #endif #if defined(__NEED_fsfilcnt_t) && !defined(__DEFINED_fsfilcnt_t) -typedef unsigned _Int64 fsfilcnt_t; +typedef unsigned int fsfilcnt_t; #define __DEFINED_fsfilcnt_t #endif diff --git a/system/include/libc/sys/resource.h b/system/include/libc/sys/resource.h index 0cfbcf44..22ff2f3b 100644 --- a/system/include/libc/sys/resource.h +++ b/system/include/libc/sys/resource.h @@ -16,7 +16,7 @@ extern "C" { #include <bits/alltypes.h> -typedef unsigned long long rlim_t; +typedef unsigned long rlim_t; struct rlimit { |