From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262107AbULLTXc (ORCPT ); Sun, 12 Dec 2004 14:23:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262108AbULLTS4 (ORCPT ); Sun, 12 Dec 2004 14:18:56 -0500 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:15376 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S262104AbULLTSX (ORCPT ); Sun, 12 Dec 2004 14:18:23 -0500 Date: Sun, 12 Dec 2004 20:18:10 +0100 From: Adrian Bunk To: linux-kernel@vger.kernel.org Subject: [2.6 patch] kernel/configs.c: make a variable static Message-ID: <20041212191810.GW22324@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 a needlessly global variable static. Signed-off-by: Adrian Bunk --- linux-2.6.10-rc2-mm4-full/kernel/Makefile.old 2004-12-12 02:45:07.000000000 +0100 +++ linux-2.6.10-rc2-mm4-full/kernel/Makefile 2004-12-12 02:45:18.000000000 +0100 @@ -48,7 +48,7 @@ $(call if_changed,gzip) quiet_cmd_ikconfiggz = IKCFG $@ - cmd_ikconfiggz = (echo "const char kernel_config_data[] = MAGIC_START"; cat $< | scripts/bin2c; echo "MAGIC_END;") > $@ + cmd_ikconfiggz = (echo "static const char kernel_config_data[] = MAGIC_START"; cat $< | scripts/bin2c; echo "MAGIC_END;") > $@ targets += config_data.h $(obj)/config_data.h: $(obj)/config_data.gz FORCE $(call if_changed,ikconfiggz)