[PATCH] fix weird placement of static keyword in sound/core/pcm_memory.c

From: Jesper Juhl
Date: Tue Nov 23 2004 - 19:02:18 EST



This patch moves the 'static' keyword to the beginning of the declaration
to eliminate the following warning when building with gcc -W
sound/core/pcm_memory.c:40: warning: `static' is not at beginning of declaration

This has no actal imact on the code, but it's one less warning to sift
through when looking for potential trouble-code with -W
I have a hard time thinking of a reason to not apply this trivial patch :)


Signed-off-by: Jesper Juhl <juhl-lkml@xxxxxx>

diff -up linux-2.6.10-rc2-bk6-orig/sound/core/pcm_memory.c linux-2.6.10-rc2-bk6/sound/core/pcm_memory.c
--- linux-2.6.10-rc2-bk6-orig/sound/core/pcm_memory.c 2004-10-18 23:54:39.000000000 +0200
+++ linux-2.6.10-rc2-bk6/sound/core/pcm_memory.c 2004-11-24 00:57:06.000000000 +0100
@@ -37,7 +37,7 @@ static int maximum_substreams = 4;
module_param(maximum_substreams, int, 0444);
MODULE_PARM_DESC(maximum_substreams, "Maximum substreams with preallocated DMA memory.");

-const static size_t snd_minimum_buffer = 16384;
+static const size_t snd_minimum_buffer = 16384;


/*



-
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/