* [2.6 patch] drivers/scsi/atp870u.c: make a function static
@ 2005-04-23 22:08 Adrian Bunk
2005-04-24 0:14 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-04-23 22:08 UTC (permalink / raw)
To: alan; +Cc: linux-kernel, James.Bottomley, linux-scsi
This patch makes a needlessly global function static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- 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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-24 0:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-23 22:08 [2.6 patch] drivers/scsi/atp870u.c: make a function static Adrian Bunk
2005-04-24 0:14 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox