lkml.org 
[lkml]   [2005]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.6 patch] drivers/net/lp486e.c: make some code static
Adrian Bunk wrote:
> This patch makes some needlessly global code static.
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
> ---
>
> drivers/net/lp486e.c | 8 +++++---
> 1 files changed, 5 insertions(+), 3 deletions(-)
>
> --- linux-2.6.11-rc3-mm2-full/drivers/net/lp486e.c.old 2005-02-16 16:08:34.000000000 +0100
> +++ linux-2.6.11-rc3-mm2-full/drivers/net/lp486e.c 2005-02-16 16:15:33.000000000 +0100
> @@ -112,8 +112,10 @@
> CmdDiagnose = 7
> };
>
> -char *CUcmdnames[8] = { "NOP", "IASetup", "Configure", "MulticastList",
> - "Tx", "TDR", "Dump", "Diagnose" };
> +#if 0
> +static char *CUcmdnames[8] = { "NOP", "IASetup", "Configure", "MulticastList",
> + "Tx", "TDR", "Dump", "Diagnose" };
> +#endif

Need const.

Jeff



-
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:10    [W:0.104 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site