Re: [PATCH v2 2/6] signal: introduce do_sigtimedwait() to factor outcompat/native code

From: Mike Frysinger
Date: Wed May 11 2011 - 12:21:48 EST


On Tue, Apr 26, 2011 at 15:49, Oleg Nesterov wrote:
> --- sigprocmask/include/linux/signal.h~2_do_sigtimedwait    Â2011-04-26 19:52:30.000000000 +0200
> +++ sigprocmask/include/linux/signal.h Â2011-04-26 19:53:42.000000000 +0200
> @@ -242,6 +242,8 @@ extern int __group_send_sig_info(int, st
> Âextern long do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig,
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â siginfo_t *info);
> Âextern long do_sigpending(void __user *, unsigned long);
> +extern int do_sigtimedwait(const sigset_t *, siginfo_t *,
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â const struct timespec *);
> Âextern int sigprocmask(int, sigset_t *, sigset_t *);
> Âextern void set_current_blocked(const sigset_t *);
> Âextern int show_unhandled_signals;

this causes a build warning:
In file included from arch/blackfin/kernel/signal.c:8:
include/linux/signal.h:246: warning: 'struct timespec' declared inside
parameter list
include/linux/signal.h:246: warning: its scope is only this definition
or declaration, which is probably not what you want
-mike
--
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/