lkml.org 
[lkml]   [2005]   [Jan]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 3 Jan 2005 23:25:06 +0100
FromBartlomiej Zolnierkiewicz <>
SubjectRe: [PATCH] pktcdvd: make two functions static
Hi,

While at it...

On 03 Jan 2005 21:42:09 +0100, Peter Osterlund <petero2@telia.com> wrote:
> Make two needlessly global functions static.
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
> Signed-off-by: Peter Osterlund <petero2@telia.com>
> ---
> 
>  linux-petero/drivers/block/pktcdvd.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff -puN drivers/block/pktcdvd.c~pktcdvd-static drivers/block/pktcdvd.c
> --- linux/drivers/block/pktcdvd.c~pktcdvd-static        2005-01-02 22:27:26.000000000 +0100
> +++ linux-petero/drivers/block/pktcdvd.c        2005-01-03 21:39:56.985007024 +0100
> @@ -2627,7 +2627,7 @@ static struct miscdevice pkt_misc = {
>         .fops           = &pkt_ctl_fops
>  };
> 
> -int pkt_init(void)
> +static int pkt_init(void)
>  {
>         int ret;
> 

__init

> @@ -2663,7 +2663,7 @@ out2:
>         return ret;
>  }
> 
> -void pkt_exit(void)
> +static void pkt_exit(void)
>  {
>         remove_proc_entry("pktcdvd", proc_root_driver);
>         misc_deregister(&pkt_misc);
> _

__exit
-
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:09    [from the cache]
©2003-2008