aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2019-02-14 09:39:17 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-02-14 09:39:17 -0800
commit56480d11698a5239e7eb2aa033f60d4f04c341aa (patch)
tree2cb222cbdcaeccfaaa3d63aec4fd46d664fc8b3d
parentcc0d0f04ece25f606e614a326b56db4b39e8cb82 (diff)
parent00df5b885f0cc61dfa614206ed0fb06a55e10053 (diff)
downloadtinyalsa-56480d11698a5239e7eb2aa033f60d4f04c341aa.tar.gz
Merge "tinypcminfo: make function pcm_get_format_name() static" am: 196243ef6b am: 8e9b73a310
am: 00df5b885f Change-Id: I39a20f296eaae8e92907c2d8f8c45af31d4b5e80
-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;
}