[PATCH] dc395x [1/6] - make functions static

Jamie Lenehan
2003-08-21T10:14:35Z

I forgot to make some of the new functions added during the list
cleanups static. This patch just declares those new functions static.

diff -du -r a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c
--- a/drivers/scsi/dc395x.c 2003-08-19 23:24:41.797147152 +1000
+++ b/drivers/scsi/dc395x.c 2003-08-19 23:24:49.822927048 +1000
@@ -822,6 +822,7 @@
*
* @head: The pointer to the head of the list to count the items in.
**/
+static
unsigned int list_size(struct list_head *head)
{
unsigned int count = 0;
@@ -841,6 +842,7 @@
* @pos: The pointer the dcb for which we are searching for the
* following dcb.
**/
+static
struct DeviceCtlBlk *dcb_get_next(
struct list_head *head,
struct DeviceCtlBlk *pos)