From b85e8c0c4720772e872a0848620284eb2364ec1e Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 24 Apr 2011 00:38:02 +0200 Subject: sigqueue.c: do not use __libc_X name internally __libc_X names are intended to be used in other uClibc provided libs, but not in libc. Mark the syscall __always_inline. Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/sigqueue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/common/sigqueue.c b/libc/sysdeps/linux/common/sigqueue.c index e55d3b343..c40753948 100644 --- a/libc/sysdeps/linux/common/sigqueue.c +++ b/libc/sysdeps/linux/common/sigqueue.c @@ -27,8 +27,8 @@ #ifdef __NR_rt_sigqueueinfo -# define __NR___libc_rt_sigqueueinfo __NR_rt_sigqueueinfo -static __inline__ _syscall3(int, __libc_rt_sigqueueinfo, pid_t, pid, int, sig, void*, value) +# define __NR___syscall_rt_sigqueueinfo __NR_rt_sigqueueinfo +static __always_inline _syscall3(int, __syscall_rt_sigqueueinfo, pid_t, pid, int, sig, void*, value) /* Return any pending signal or wait for one for the given time. */ int sigqueue (pid_t pid, int sig, const union sigval val) @@ -45,7 +45,7 @@ int sigqueue (pid_t pid, int sig, const union sigval val) info.si_uid = getuid (); info.si_value = val; - return __libc_rt_sigqueueinfo(pid, sig, &info); + return __syscall_rt_sigqueueinfo(pid, sig, &info); } #endif -- cgit v1.2.3