aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-04-11 05:12:46 -0400
committerJaroslav Kysela <perex@suse.cz>2006-04-12 05:34:21 -0400
commit12831c15f35dcc9f55fa63d50fd4892c7c6a0a1c (patch)
tree6db15ad0ab6b4f17409bf0b6cff4eee19a8486c6 /sound/core
parent73864fc634932bc827f852557f637fade0227381 (diff)
[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/core')
-rw-r--r--sound/core/pcm.c2
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[] = {
196 FORMAT(U18_3BE), 196 FORMAT(U18_3BE),
197}; 197};
198 198
199const char *snd_pcm_format_name(snd_pcm_format_t format) 199static const char *snd_pcm_format_name(snd_pcm_format_t format)
200{ 200{
201 return snd_pcm_format_names[format]; 201 return snd_pcm_format_names[format];
202} 202}