Fix ASan/Clang build.

Clang uses C99 semantics for "inline" functions by default, which is
not what this code expects. Changing a few "inline" functions to
"static inline" fixes the build.

Other option would be to switch back to -std=gnu89.

See http://clang.llvm.org/compatibility.html#inline for more details.

Bug: 21785137
Change-Id: I029f083684a02fd41df5459f1d7ecff3b38546d3
1 file changed