Re: [2.6 patch] sound/oss/: cleanups

From: Benoit Boissinot
Date: Mon Mar 28 2005 - 16:03:56 EST


On Sun, 6 Mar 2005 23:07:47 +0100, Adrian Bunk <bunk@xxxxxxxxx> wrote:
> This patch contains cleanups including the following:
> - make needlessly global code static
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
>
> --- linux-2.6.11-mm1-full/sound/oss/nm256_audio.c.old 2005-03-06 22:14:42.000000000 +0100
> +++ linux-2.6.11-mm1-full/sound/oss/nm256_audio.c 2005-03-06 22:22:52.000000000 +0100
> @@ -31,7 +31,7 @@
> #include "nm256.h"
> #include "nm256_coeff.h"
>
> -int nm256_debug;
> +static int nm256_debug;
> static int force_load;
>
> /*

nm256_debug is used in functions declared in nm256.h (those functions
are used in nm256_coeff.h and nm256_audio.c).
This part of the patch should be dropped (it doesn't build on gcc-4.0).

regards,

Benoit
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/