aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2019-02-14 09:30:16 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-02-14 09:30:16 -0800
commit8e9b73a310a4cc8bcd920d2d590f358ef1d58b4b (patch)
tree2cb222cbdcaeccfaaa3d63aec4fd46d664fc8b3d
parent474eae2b3f991ce926124d552954f0a514504b95 (diff)
parent196243ef6b7cf94cbdb1a4b6da39a523cc2a65a4 (diff)
downloadtinyalsa-8e9b73a310a4cc8bcd920d2d590f358ef1d58b4b.tar.gz
Merge "tinypcminfo: make function pcm_get_format_name() static"
am: 196243ef6b Change-Id: I28aab841f5ae3b86db175a62d8ce1869e082e026
-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;
}