From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757553AbbCDNdJ (ORCPT ); Wed, 4 Mar 2015 08:33:09 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:43231 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752390AbbCDNdF (ORCPT ); Wed, 4 Mar 2015 08:33:05 -0500 From: Darshana Padmadas To: linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, josh@joshtriplett.org, Darshana Padmadas Subject: [PATCH 04/16] arch: x86: ia32: Add prototype for compat_ni_syscall Date: Wed, 4 Mar 2015 19:02:06 +0530 Message-Id: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org nosyscall.c declares function compat_ni_syscall that returns long datatype. compat_ni_syscall is also defined in syscall_ia32.c but returns void. Add prototype for this function. This eliminates the following warning: arch/x86/ia32/nosyscall.c:4:6: warning: no previous prototype for ‘compat_ni_syscall’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas --- arch/x86/ia32/nosyscall.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/ia32/nosyscall.c b/arch/x86/ia32/nosyscall.c index 51ecd5b..22f757b 100644 --- a/arch/x86/ia32/nosyscall.c +++ b/arch/x86/ia32/nosyscall.c @@ -1,6 +1,8 @@ #include #include +long compat_ni_syscall(void); + long compat_ni_syscall(void) { return -ENOSYS; -- 1.9.1