[PATCH 53/58] linux/syscalls.h: Add prototypes for sys_rt_sigaction and sys_rt_sigsuspend

From: Josh Triplett
Date: Mon Nov 19 2012 - 00:33:00 EST


include/linux/syscalls.h contains prototypes for most syscall functions;
however, it lacked the prototypes for sys_rt_sigaction and
sys_rt_sigsuspend. Add them. This eliminates warnings from GCC
(-Wmissing-prototypes) and Sparse (-Wdecl).

kernel/signal.c:3183:2: warning: no previous prototype for âsys_rt_sigactionâ [-Wmissing-prototypes]
kernel/signal.c:3280:7: warning: no previous prototype for âsys_rt_sigsuspendâ [-Wmissing-prototypes]

Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
---
include/linux/syscalls.h | 3 +++
1 file changed, 3 insertions(+)

diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index 727f0cd..4ec00c1 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -371,9 +371,12 @@ asmlinkage long sys_init_module(void __user *umod, unsigned long len,
asmlinkage long sys_delete_module(const char __user *name_user,
unsigned int flags);

+asmlinkage long sys_rt_sigaction(int sig, const struct sigaction __user *act,
+ struct sigaction __user *oact, size_t sigsetsize);
asmlinkage long sys_rt_sigprocmask(int how, sigset_t __user *set,
sigset_t __user *oset, size_t sigsetsize);
asmlinkage long sys_rt_sigpending(sigset_t __user *set, size_t sigsetsize);
+asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize);
asmlinkage long sys_rt_sigtimedwait(const sigset_t __user *uthese,
siginfo_t __user *uinfo,
const struct timespec __user *uts,
--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/