eliminate explicit (long) casts when making syscalls
authorRich Felker <dalias@aerifal.cx>
Tue, 7 Jan 2014 03:05:54 +0000 (22:05 -0500)
committerRich Felker <dalias@aerifal.cx>
Tue, 7 Jan 2014 03:05:54 +0000 (22:05 -0500)
commiteca335fc0453d3680fd9f112574919e13fab31d2
tree4cb5225adcd4508405087557f74da1096be3b7d5
parent839cc4e6da609a0b24f6cc32b0b11558fd77dd83
eliminate explicit (long) casts when making syscalls

this practice came from very early, before internal/syscall.h defined
macros that could accept pointer arguments directly and handle them
correctly. aside from being ugly and unnecessary, it looks like it
will be problematic when we add support for 32-bit ABIs on archs where
registers (and syscall arguments) are 64-bit, e.g. x32 and mips n32.
src/thread/__wait.c
src/time/timer_delete.c
src/time/timer_getoverrun.c
src/time/timer_gettime.c
src/time/timer_settime.c