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

Christoph Hellwig
2003-08-21T10:46:35Z

On Thu, Aug 21, 2003 at 08:14:34PM +1000, Jamie Lenehan wrote:
> 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)

the static belongs on the same line as the prototype.