shithub: libvpx

Download patch

ref: c89d15125016ab31750977127dac6b4cf5cc3c7c
parent: ccef8842d2f4df4f52efe66b6b94de707244804f
author: Jim Bankoski <[email protected]>
date: Wed Aug 13 14:09:05 EDT 2014

vpx_codec_internal.h : clean out unused function warning

Change-Id: I53659e3ff8ba1b70d89d152e0580ac7a412b89b2

--- a/vpx/internal/vpx_codec_internal.h
+++ b/vpx/internal/vpx_codec_internal.h
@@ -369,11 +369,11 @@
 
 #undef VPX_CTRL_USE_TYPE
 #define VPX_CTRL_USE_TYPE(id, typ) \
-  static typ id##__value(va_list args) {return va_arg(args, typ);} \
+  static VPX_INLINE typ id##__value(va_list args) {return va_arg(args, typ);}
 
 #undef VPX_CTRL_USE_TYPE_DEPRECATED
 #define VPX_CTRL_USE_TYPE_DEPRECATED(id, typ) \
-  static typ id##__value(va_list args) {return va_arg(args, typ);} \
+  static VPX_INLINE typ id##__value(va_list args) {return va_arg(args, typ);}
 
 #define CAST(id, arg) id##__value(arg)