From 467c66e84278ade11ab5b6bca67a353780c3bd42 Mon Sep 17 00:00:00 2001 From: Johann Date: Tue, 25 Aug 2015 14:53:09 -0700 Subject: [PATCH] Mark Scale2Ratio INLINE WebRTC builds with -Wunused-function do not like all the uses of onyx.h Change-Id: Ic57cb143b48df9c9895f94b5f8f395c260fa7025 --- vp8/common/onyx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.50.1