aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Wilson <ksattic@gmail.com>2015-08-30 19:53:09 -0700
committerSimon Wilson <ksattic@gmail.com>2015-08-30 19:53:09 -0700
commit4a31e4c1f0a27fce50fdbae4dc7b7fb8bac7cc5e (patch)
treec2d4d6ebef59f9ec754be15fa89aca0facfc899c
parent74a05da4f0650e0f395ab541dd6ef29e6b443376 (diff)
parent7d204edfe87f4e22105bcaeb750d69ac769afdd6 (diff)
Merge pull request #61 from tpetazzoni/gcc5-fix
tinypcminfo: make function pcm_get_format_name() static
-rw-r--r--tinypcminfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinypcminfo.c b/tinypcminfo.c
index b2d11bc..99eec34 100644
--- a/tinypcminfo.c
+++ b/tinypcminfo.c
@@ -92,7 +92,7 @@ static const char *format_lookup[] = {
/* Returns a human readable name for the format associated with bit_index,
* NULL if bit_index is not known.
*/
-inline const char *pcm_get_format_name(unsigned bit_index)
+static inline const char *pcm_get_format_name(unsigned bit_index)
{
return bit_index < ARRAY_SIZE(format_lookup) ? format_lookup[bit_index] : NULL;
}