From 7cfe2ff88e740725d84ece4d45b6e9baa1c138dd Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Tue, 11 Apr 2006 11:12:46 +0200 Subject: [PATCH] --- yaml --- r: 25667 b: refs/heads/master c: 12831c15f35dcc9f55fa63d50fd4892c7c6a0a1c h: refs/heads/master i: 25665: 404ec855360abcf37385ce6a4a4734a137a75107 25663: 82f9aecc2f8887d02f8e44231a61f8fcad190395 v: v3 --- [refs] | 2 +- trunk/include/sound/pcm.h | 1 - trunk/sound/core/pcm.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index dee04a9f6cd7..218213875321 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 73864fc634932bc827f852557f637fade0227381 +refs/heads/master: 12831c15f35dcc9f55fa63d50fd4892c7c6a0a1c diff --git a/trunk/include/sound/pcm.h b/trunk/include/sound/pcm.h index e9ab45556afa..df70e7592ab5 100644 --- a/trunk/include/sound/pcm.h +++ b/trunk/include/sound/pcm.h @@ -898,7 +898,6 @@ ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples); const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format); int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames); snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsignd, int big_endian); -const char *snd_pcm_format_name(snd_pcm_format_t format); void snd_pcm_set_ops(struct snd_pcm * pcm, int direction, struct snd_pcm_ops *ops); void snd_pcm_set_sync(struct snd_pcm_substream *substream); diff --git a/trunk/sound/core/pcm.c b/trunk/sound/core/pcm.c index 5d7eb123b999..122e10a61ab9 100644 --- a/trunk/sound/core/pcm.c +++ b/trunk/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]; }