From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262041AbULLCM3 (ORCPT ); Sat, 11 Dec 2004 21:12:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262043AbULLCLx (ORCPT ); Sat, 11 Dec 2004 21:11:53 -0500 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:34309 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S262045AbULLCLK (ORCPT ); Sat, 11 Dec 2004 21:11:10 -0500 Date: Sun, 12 Dec 2004 03:11:01 +0100 From: Adrian Bunk To: linux-kernel@vger.kernel.org Subject: [2.6 patch] i386 setup.c: make 4 variables static Message-ID: <20041212021101.GN22324@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org The patch below makes four needlessly global variables static. diffstat output: arch/i386/kernel/setup.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Signed-off-by: Adrian Bunk --- linux-2.6.10-rc2-mm4-full/arch/i386/kernel/setup.c.old 2004-12-11 23:44:49.000000000 +0100 +++ linux-2.6.10-rc2-mm4-full/arch/i386/kernel/setup.c 2004-12-11 23:46:04.000000000 +0100 @@ -425,10 +425,10 @@ struct e820entry *pbios; /* pointer to original bios entry */ unsigned long long addr; /* address for this change point */ }; -struct change_member change_point_list[2*E820MAX] __initdata; -struct change_member *change_point[2*E820MAX] __initdata; -struct e820entry *overlap_list[E820MAX] __initdata; -struct e820entry new_bios[E820MAX] __initdata; +static struct change_member change_point_list[2*E820MAX] __initdata; +static struct change_member *change_point[2*E820MAX] __initdata; +static struct e820entry *overlap_list[E820MAX] __initdata; +static struct e820entry new_bios[E820MAX] __initdata; static int __init sanitize_e820_map(struct e820entry * biosmap, char * pnr_map) {