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:09:02 +0000 (02:09 +0000)
commit806c84a758d51762c1d406cda4a378c58cdcb5f3
treed32583743e1161e4306e842e681930626ce5ec95
parent10be5075f268a54a048351b30e3ee38d0a7891ea
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