summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-05-26 15:43:17 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-05-26 15:43:17 +0000
commita6367a17d5f77848e8313b1e5e42698aec92908d (patch)
tree19e990c86467cdc75e2ca032c282d20aaef29462 /arch
parent1e5eb73545ca6cfe8b918798835aaf6e07af5beb (diff)
downloadmusl-a6367a17d5f77848e8313b1e5e42698aec92908d.tar.gz
on x86_64 use long instead of long long for 64bit posix types
following glibc use the lowest rank 64bit integer type for ino_t etc. this is eg. useful for printf format compatibility
Diffstat (limited to 'arch')
-rwxr-xr-xarch/x86_64/bits/alltypes.h.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86_64/bits/alltypes.h.sh b/arch/x86_64/bits/alltypes.h.sh
index c5e54aab..a6c90327 100755
--- a/arch/x86_64/bits/alltypes.h.sh
+++ b/arch/x86_64/bits/alltypes.h.sh
@@ -94,12 +94,12 @@ TYPEDEF long off_t;
TYPEDEF unsigned int mode_t;
TYPEDEF unsigned long nlink_t;
-TYPEDEF unsigned long long ino_t;
+TYPEDEF unsigned long ino_t;
TYPEDEF unsigned long dev_t;
TYPEDEF long blksize_t;
-TYPEDEF long long blkcnt_t;
-TYPEDEF unsigned long long fsblkcnt_t;
-TYPEDEF unsigned long long fsfilcnt_t;
+TYPEDEF long blkcnt_t;
+TYPEDEF unsigned long fsblkcnt_t;
+TYPEDEF unsigned long fsfilcnt_t;
TYPEDEF void * timer_t;
TYPEDEF int clockid_t;