Re: [PATCH] signal: trivial, fix the "timespec declared insideparameter list" warning

From: Mike Frysinger
Date: Fri May 13 2011 - 14:09:46 EST


On Fri, May 13, 2011 at 12:44, Oleg Nesterov wrote:
> --- sigprocmask/include/linux/signal.h~15_stw_warning  2011-05-12 20:44:43.000000000 +0200
> +++ sigprocmask/include/linux/signal.h Â2011-05-13 18:10:40.000000000 +0200
> @@ -242,6 +242,7 @@ 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);
> +struct timespec;
> Âextern int do_sigtimedwait(const sigset_t *, siginfo_t *,
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âconst struct timespec *);
> Âextern int sigprocmask(int, sigset_t *, sigset_t *);

seems like you'd want to stick this higher up in the file (like after
the includes or at the top of the prototype block) so that in the
future, you dont have to move it if someone adds a new func before it.
-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/