aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-02-14 17:11:45 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-02-14 17:11:45 +0000
commit196243ef6b7cf94cbdb1a4b6da39a523cc2a65a4 (patch)
tree2cb222cbdcaeccfaaa3d63aec4fd46d664fc8b3d
parent9f291d0e741f4a27766063070434572b8bb5bb27 (diff)
parent6988dac4ad142d6cc46ec6603d15d7827e7831e5 (diff)
downloadtinyalsa-oreo-mr1-iot-release.tar.gz
-rw-r--r--tinypcminfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinypcminfo.c b/tinypcminfo.c
index a8ea627..4eb0afa 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;
}