OSDN Git Service

Make inlines static
authorColin Cross <ccross@android.com>
Fri, 30 Jun 2017 21:05:23 +0000 (14:05 -0700)
committerColin Cross <ccross@android.com>
Sat, 1 Jul 2017 02:08:34 +0000 (02:08 +0000)
commit7a800d960a76b7f845eed7639176592582ce6efe
tree0aebcfd48ce93447ba4376b4aeb0f0dcaa5edc4e
parente169ccc7f8c87a14b11a870bc90b69510c607d20
Make inlines static

Compiling the non-static inlines with -Oz results in missing symbols,
because clang chooses not to inline the functions but also doesn't
emit a definition because they are not static or extern.  They are
only used in this .c file, so make them static.

Test: builds with -Oz
Bug: 62549703
Change-Id: Ibb78ad982c2911e151f0dd6b01eb6164fe6e8e63
Merged-In: Ibb78ad982c2911e151f0dd6b01eb6164fe6e8e63
(cherry picked from commit c7eae5d84a55de0450b9947a26127ef05cb089a5)
audio_utils/channels.c