summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-24 00:38:02 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:42 +0200
commitb85e8c0c4720772e872a0848620284eb2364ec1e (patch)
tree827c51c3cab359fb674dc14da9696eb9d2a2c530 /libc/sysdeps
parentefe9077ecf6114680aac09ae1cd0910b300c8d12 (diff)
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 <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/sigqueue.c6
1 files changed, 3 insertions, 3 deletions
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