From: Johann Date: Tue, 25 Aug 2015 21:53:09 +0000 (-0700) Subject: Mark Scale2Ratio INLINE X-Git-Tag: v1.5.0~228 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=467c66e84278ade11ab5b6bca67a353780c3bd42;p=libvpx Mark Scale2Ratio INLINE WebRTC builds with -Wunused-function do not like all the uses of onyx.h Change-Id: Ic57cb143b48df9c9895f94b5f8f395c260fa7025 --- diff --git a/vp8/common/onyx.h b/vp8/common/onyx.h index f39b675cd..febe81505 100644 --- a/vp8/common/onyx.h +++ b/vp8/common/onyx.h @@ -65,7 +65,7 @@ extern "C" #include - static void Scale2Ratio(int mode, int *hr, int *hs) + static INLINE void Scale2Ratio(int mode, int *hr, int *hs) { switch (mode) {