提交 e9b04b5b 编写于 作者: A Al Viro

make do_sigaltstack() static

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 9b25d604
...@@ -2259,7 +2259,6 @@ extern struct sigqueue *sigqueue_alloc(void); ...@@ -2259,7 +2259,6 @@ extern struct sigqueue *sigqueue_alloc(void);
extern void sigqueue_free(struct sigqueue *); extern void sigqueue_free(struct sigqueue *);
extern int send_sigqueue(struct sigqueue *, struct task_struct *, int group); extern int send_sigqueue(struct sigqueue *, struct task_struct *, int group);
extern int do_sigaction(int, struct k_sigaction *, struct k_sigaction *); extern int do_sigaction(int, struct k_sigaction *, struct k_sigaction *);
extern int do_sigaltstack(const stack_t __user *, stack_t __user *, unsigned long);
static inline void restore_saved_sigmask(void) static inline void restore_saved_sigmask(void)
{ {
......
...@@ -3129,7 +3129,7 @@ int do_sigaction(int sig, struct k_sigaction *act, struct k_sigaction *oact) ...@@ -3129,7 +3129,7 @@ int do_sigaction(int sig, struct k_sigaction *act, struct k_sigaction *oact)
return 0; return 0;
} }
int static int
do_sigaltstack (const stack_t __user *uss, stack_t __user *uoss, unsigned long sp) do_sigaltstack (const stack_t __user *uss, stack_t __user *uoss, unsigned long sp)
{ {
stack_t oss; stack_t oss;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册