ref: 940db8fc4e3c9cca983acf2d7c920e8dbc34b267
parent: 1d476a9ba4d7d52a3d43a81d887b67d58bd90b6b
parent: c89d15125016ab31750977127dac6b4cf5cc3c7c
author: Jim Bankoski <[email protected]>
date: Thu Aug 14 02:22:00 EDT 2014
Merge "vpx_codec_internal.h : clean out unused function warning"
--- 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)