From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Bunk Subject: [2.6 patch] drivers/scsi/atp870u.c: make a function static Date: Sun, 24 Apr 2005 00:08:18 +0200 Message-ID: <20050423220817.GF4355@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from emailhub.stusta.mhn.de ([141.84.69.5]:44303 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S262104AbVDWWIU (ORCPT ); Sat, 23 Apr 2005 18:08:20 -0400 Content-Disposition: inline Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: alan@redhat.com Cc: linux-kernel@vger.kernel.org, James.Bottomley@SteelEye.co, linux-scsi@vger.kernel.org This patch makes a needlessly global function static. Signed-off-by: Adrian Bunk --- linux-2.6.12-rc2-mm3-full/drivers/scsi/atp870u.c.old 2005-04-23 21:59:28.000000000 +0200 +++ linux-2.6.12-rc2-mm3-full/drivers/scsi/atp870u.c 2005-04-23 22:00:47.000000000 +0200 @@ -3146,8 +3146,8 @@ } #define BLS buffer + len + size -int atp870u_proc_info(struct Scsi_Host *HBAptr, char *buffer, - char **start, off_t offset, int length, int inout) +static int atp870u_proc_info(struct Scsi_Host *HBAptr, char *buffer, + char **start, off_t offset, int length, int inout) { static u8 buff[512]; int size = 0;