Skip to contentSkip to conversation

add a missing extern to scsi_priv.h

PATCH New Christoph Hellwig 1 participant 1 message Aug 25, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add a missing extern to scsi_priv.h

scsi_scan_host_selected was the only prototype without 'extern'

drivers/scsi/scsi_priv.h +2 -2
diff -Nru a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h
@@ -126,8 +126,8 @@
 #endif /* CONFIG_PROC_FS */
 
 /* scsi_scan.c */
-int scsi_scan_host_selected(struct Scsi_Host *, unsigned int, unsigned int,
-			    unsigned int, int);
+extern int scsi_scan_host_selected(struct Scsi_Host *, unsigned int,
+				   unsigned int, unsigned int, int);
 extern void scsi_forget_host(struct Scsi_Host *);
 extern void scsi_free_sdev(struct scsi_device *);
 extern void scsi_rescan_device(struct device *);