diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2019-02-14 17:11:45 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-02-14 17:11:45 +0000 |
commit | 196243ef6b7cf94cbdb1a4b6da39a523cc2a65a4 (patch) | |
tree | 2cb222cbdcaeccfaaa3d63aec4fd46d664fc8b3d | |
parent | 9f291d0e741f4a27766063070434572b8bb5bb27 (diff) | |
parent | 6988dac4ad142d6cc46ec6603d15d7827e7831e5 (diff) | |
download | tinyalsa-oreo-mr1-iot-release.tar.gz |
Merge "tinypcminfo: make function pcm_get_format_name() static"android-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1android-o-mr1-iot-release-1.0.12android-o-mr1-iot-release-1.0.10oreo-mr1-iot-release
-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; } |