From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757392AbbCDNcx (ORCPT ); Wed, 4 Mar 2015 08:32:53 -0500 Received: from mail-pd0-f174.google.com ([209.85.192.174]:40669 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757210AbbCDNcv (ORCPT ); Wed, 4 Mar 2015 08:32:51 -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 03/16] arch: x86: boot: Include header string.h for function prototypes Date: Wed, 4 Mar 2015 19:02:05 +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 Include header file string.h that declares prototypes for functions defined in string.c. This eliminates the following warnings: arch/x86/boot/string.c:18:5: warning: no previous prototype for ‘memcmp’ [-Wmissing-prototypes] arch/x86/boot/compressed/../string.c:18:5: warning: no previous prototype for ‘memcmp’ [-Wmissing-prototypes] arch/x86/boot/compressed/string.c:18:7: warning: no previous prototype for ‘memcpy’ [-Wmissing-prototypes] arch/x86/boot/compressed/string.c:33:7: warning: no previous prototype for ‘memset’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas --- arch/x86/boot/string.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/boot/string.c b/arch/x86/boot/string.c index 493f3fd..847f56c 100644 --- a/arch/x86/boot/string.c +++ b/arch/x86/boot/string.c @@ -14,6 +14,7 @@ #include #include "ctype.h" +#include "string.h" int memcmp(const void *s1, const void *s2, size_t len) { -- 1.9.1