diff options
author | Jaroslav Kysela <perex@suse.cz> | 2004-11-29 12:09:26 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2004-11-29 12:09:26 +0100 |
commit | ae2dc61577fb807a68511a65e724e6f6ae928e0e (patch) | |
tree | d34f8c7edf1479eafae07c03b497e5c4bf189b9e /sound | |
parent | 198816d4b7238758a50d21b7a1271f32ad455726 (diff) | |
download | history-ae2dc61577fb807a68511a65e724e6f6ae928e0e.tar.gz |
[ALSA] fix weird placement of static keyword in sound/core/pcm_memory.c
PCM Midlevel
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@dif.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/core/pcm_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm_memory.c b/sound/core/pcm_memory.c index 16a81240ad7a07..e165fee4891c1f 100644 --- a/sound/core/pcm_memory.c +++ b/sound/core/pcm_memory.c @@ -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; /* |