summaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-04-11 11:12:46 +0200
committerJaroslav Kysela <perex@suse.cz>2006-04-12 11:34:21 +0200
commit12831c15f35dcc9f55fa63d50fd4892c7c6a0a1c (patch)
tree6db15ad0ab6b4f17409bf0b6cff4eee19a8486c6 /sound/core
parent73864fc634932bc827f852557f637fade0227381 (diff)
downloadlinux-12831c15f35dcc9f55fa63d50fd4892c7c6a0a1c.tar.gz
linux-12831c15f35dcc9f55fa63d50fd4892c7c6a0a1c.tar.bz2
linux-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/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[] = {
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];
}