lkml.org 
[lkml]   [2004]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [2.6 patch] drivers/block/pktcdvd.c: make two functions static
From
Date
Adrian Bunk <bunk@stusta.de> writes:

> The patch below makes two needlessly global functions static.

Looks good to me.

> diffstat output:
> drivers/block/pktcdvd.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
> --- linux-2.6.10-rc1-mm3-full/drivers/block/pktcdvd.c.old 2004-11-06 20:16:55.000000000 +0100
> +++ linux-2.6.10-rc1-mm3-full/drivers/block/pktcdvd.c 2004-11-06 20:17:22.000000000 +0100
> @@ -2627,7 +2627,7 @@
> .fops = &pkt_ctl_fops
> };
>
> -int pkt_init(void)
> +static int pkt_init(void)
> {
> int ret;
>
> @@ -2663,7 +2663,7 @@
> return ret;
> }
>
> -void pkt_exit(void)
> +static void pkt_exit(void)
> {
> remove_proc_entry("pktcdvd", proc_root_driver);
> misc_deregister(&pkt_misc);

--
Peter Osterlund - petero2@telia.com
http://web.telia.com/~u89404340
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.076 / U:2.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site