From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965058AbVKGVSb (ORCPT ); Mon, 7 Nov 2005 16:18:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965076AbVKGVSb (ORCPT ); Mon, 7 Nov 2005 16:18:31 -0500 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:6660 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S965071AbVKGVSa (ORCPT ); Mon, 7 Nov 2005 16:18:30 -0500 Date: Mon, 7 Nov 2005 22:18:29 +0100 From: Adrian Bunk To: Andrew Morton Cc: linux-kernel@vger.kernel.org Subject: [2.6 patch] arch/i386/mm/init.c: small cleanups Message-ID: <20051107211829.GW3847@stusta.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This patch contains the following cleanups: - make a needlessly global function static - every file should include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk --- This patch was already sent on: - 30 Oct 2005 arch/i386/mm/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- linux-2.6.14-rc5-mm1-full/arch/i386/mm/init.c.old 2005-10-30 02:20:25.000000000 +0200 +++ linux-2.6.14-rc5-mm1-full/arch/i386/mm/init.c 2005-10-30 02:23:55.000000000 +0200 @@ -28,6 +28,7 @@ #include #include #include +#include #include #include @@ -267,7 +268,7 @@ pkmap_page_table = pte; } -void __devinit free_new_highpage(struct page *page) +static void __devinit free_new_highpage(struct page *page) { set_page_count(page, 1); __free_page(page);