diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2019-02-14 09:39:17 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-02-14 09:39:17 -0800 |
commit | 56480d11698a5239e7eb2aa033f60d4f04c341aa (patch) | |
tree | 2cb222cbdcaeccfaaa3d63aec4fd46d664fc8b3d | |
parent | cc0d0f04ece25f606e614a326b56db4b39e8cb82 (diff) | |
parent | 00df5b885f0cc61dfa614206ed0fb06a55e10053 (diff) | |
download | tinyalsa-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.c | 2 |
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; } |