diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-04-11 11:12:46 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-04-12 11:34:21 +0200 |
commit | 12831c15f35dcc9f55fa63d50fd4892c7c6a0a1c (patch) | |
tree | 6db15ad0ab6b4f17409bf0b6cff4eee19a8486c6 /sound | |
parent | 73864fc634932bc827f852557f637fade0227381 (diff) | |
download | lwn-12831c15f35dcc9f55fa63d50fd4892c7c6a0a1c.tar.gz lwn-12831c15f35dcc9f55fa63d50fd4892c7c6a0a1c.zip |
[ALSA] sound/core/pcm.c: make snd_pcm_format_name() static
Modules: PCM Midlevel
This patch makes the needlessly global snd_pcm_format_name() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/core/pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm.c b/sound/core/pcm.c index 5d7eb123b999..122e10a61ab9 100644 --- a/sound/core/pcm.c +++ b/sound/core/pcm.c @@ -196,7 +196,7 @@ static char *snd_pcm_format_names[] = { FORMAT(U18_3BE), }; -const char *snd_pcm_format_name(snd_pcm_format_t format) +static const char *snd_pcm_format_name(snd_pcm_format_t format) { return snd_pcm_format_names[format]; } |