about summary refs log tree commit diff
path: root/arch/x86_64/bits
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-15 14:32:46 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-15 14:32:46 -0500
commit44460c6d1eb1233f6598229d787d179c095b053f (patch)
treed86259eded95004592f89e6ff32687fee5554cf7 /arch/x86_64/bits
parent062354f2e13148c6524f332f0a5aed877a3c9d61 (diff)
downloadmusl-44460c6d1eb1233f6598229d787d179c095b053f.tar.gz
musl-44460c6d1eb1233f6598229d787d179c095b053f.tar.xz
musl-44460c6d1eb1233f6598229d787d179c095b053f.zip
fix some type leakage (timer_t) from x86_64 commit
Diffstat (limited to 'arch/x86_64/bits')
-rwxr-xr-xarch/x86_64/bits/alltypes.h.sh2
-rw-r--r--arch/x86_64/bits/signal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/bits/alltypes.h.sh b/arch/x86_64/bits/alltypes.h.sh
index 2f5cf5d2..dffb13a0 100755
--- a/arch/x86_64/bits/alltypes.h.sh
+++ b/arch/x86_64/bits/alltypes.h.sh
@@ -92,7 +92,7 @@ TYPEDEF long long blkcnt_t;
 TYPEDEF unsigned long long fsblkcnt_t;
 TYPEDEF unsigned long long fsfilcnt_t;
 
-TYPEDEF long timer_t;
+TYPEDEF void * timer_t;
 TYPEDEF int clockid_t;
 TYPEDEF long clock_t;
 
diff --git a/arch/x86_64/bits/signal.h b/arch/x86_64/bits/signal.h
index a9690488..64ece19b 100644
--- a/arch/x86_64/bits/signal.h
+++ b/arch/x86_64/bits/signal.h
@@ -14,7 +14,7 @@ struct __siginfo
 			uid_t si_uid;
 		} __kill;
 		struct {
-			timer_t si_timerid;
+			void *si_timerid;
 			int si_overrun;
 			char __pad[sizeof(uid_t) - sizeof(int)];
 			union sigval si_sigval;