Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752123AbaBJECj (ORCPT ); Sun, 9 Feb 2014 23:02:39 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:48029 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751475AbaBJECh convert rfc822-to-8bit (ORCPT ); Sun, 9 Feb 2014 23:02:37 -0500 X-Originating-IP: 50.43.14.201 Date: Sun, 9 Feb 2014 20:02:25 -0800 From: Josh Triplett To: Rashika Kheria Cc: linux-kernel@vger.kernel.org, Al Viro , Andrew Morton , Tom Zanussi , Steven Rostedt , Peter Zijlstra , Andi Kleen , Dario Faggioli , Michal Simek Subject: Re: [PATCH 19/21] fs: Add prototype declaration to header file include/linux/syscalls.h Message-ID: <20140210040225.GA6127@leaf> References: <71025cb48e277e15705eb5645228a4857f729234.1391949868.git.rashika.kheria@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <71025cb48e277e15705eb5645228a4857f729234.1391949868.git.rashika.kheria@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 09, 2014 at 06:58:34PM +0530, Rashika Kheria wrote: > Add prototype declaration to header file include/linux/syscalls.h > because it is used by more than one file. > > This eliminates the following warning in quota/compat.c: > fs/quota/compat.c:43:17: warning: no previous prototype for ‘sys32_quotactl’ [-Wmissing-prototypes] > > Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett > include/linux/syscalls.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h > index 40ed9e9..1f109ea 100644 > --- a/include/linux/syscalls.h > +++ b/include/linux/syscalls.h > @@ -198,6 +198,11 @@ extern struct trace_event_functions exit_syscall_print_funcs; > } \ > static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)) > > +#ifdef CONFIG_QUOTACTL_COMPAT > +asmlinkage long sys32_quotactl(unsigned int cmd, const char __user *special, > + qid_t id, void __user *addr); > +#endif > + > asmlinkage long sys_time(time_t __user *tloc); > asmlinkage long sys_stime(time_t __user *tptr); > asmlinkage long sys_gettimeofday(struct timeval __user *tv, > -- > 1.7.9.5 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/