Skip to contentSkip to conversation

drivers/scsi/atp870u.c: make a function static

PATCH In review Adrian Bunk 2 participants 2 messages Apr 23, 2005 – Apr 24, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/scsi/atp870u.c: make a function static

This patch makes a needlessly global function static.

drivers/scsi/atp870u.c renamed from drivers/scsi/atp870u.c.old +2 -2
@@ -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;
#1 lore raw
Quoted 1 line · Adrian Bunk

This patch makes a needlessly global function static.

ACK

Quoted 1 line