diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-06 20:32:53 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-06 20:32:53 -0400 |
commit | c2cd25bff89c3581780e7eb267262cb8c4da0d38 (patch) | |
tree | 797423120c0c83bbf148e4e5acd305e90b1ee0a8 /src/signal | |
parent | b2486a8922bf4977bd82c8190258e39de28c053b (diff) | |
download | musl-c2cd25bff89c3581780e7eb267262cb8c4da0d38.tar.gz musl-c2cd25bff89c3581780e7eb267262cb8c4da0d38.tar.xz musl-c2cd25bff89c3581780e7eb267262cb8c4da0d38.zip |
consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix
Diffstat (limited to 'src/signal')
-rw-r--r-- | src/signal/sigpending.c | 2 | ||||
-rw-r--r-- | src/signal/sigsuspend.c | 2 | ||||
-rw-r--r-- | src/signal/sigtimedwait.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/signal/sigpending.c b/src/signal/sigpending.c index 496025a7..f6b8972e 100644 --- a/src/signal/sigpending.c +++ b/src/signal/sigpending.c @@ -3,5 +3,5 @@ int sigpending(sigset_t *set) { - return syscall(__NR_rt_sigpending, set, 8); + return syscall(SYS_rt_sigpending, set, 8); } diff --git a/src/signal/sigsuspend.c b/src/signal/sigsuspend.c index 9ee71240..cec5ddce 100644 --- a/src/signal/sigsuspend.c +++ b/src/signal/sigsuspend.c @@ -6,7 +6,7 @@ int sigsuspend(const sigset_t *mask) { int ret; CANCELPT_BEGIN; - ret = syscall(__NR_rt_sigsuspend, mask, 8); + ret = syscall(SYS_rt_sigsuspend, mask, 8); if (ret<0) CANCELPT_TRY; CANCELPT_END; return ret; diff --git a/src/signal/sigtimedwait.c b/src/signal/sigtimedwait.c index 86a2c879..1694cbe1 100644 --- a/src/signal/sigtimedwait.c +++ b/src/signal/sigtimedwait.c @@ -8,7 +8,7 @@ int sigtimedwait(const sigset_t *mask, siginfo_t *si, const struct timespec *tim int ret; CANCELPT_BEGIN; do { - ret = syscall(__NR_rt_sigtimedwait, mask, si, timeout, 8); + ret = syscall(SYS_rt_sigtimedwait, mask, si, timeout, 8); if (ret<0) CANCELPT_TRY; } while (ret<0 && errno==EINTR); CANCELPT_END; |