From 6d2df385f8660859be89677442d481fc03049676 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 17 Jan 2018 06:47:18 +0100 Subject: [PATCH] Turn _V functions into macros --- verbosity.h | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/verbosity.h b/verbosity.h index 9c93a23692..5900cfb7b4 100644 --- a/verbosity.h +++ b/verbosity.h @@ -133,23 +133,9 @@ void RARCH_LOG_OUTPUT(const char *msg, ...); void RARCH_WARN(const char *fmt, ...); void RARCH_ERR(const char *fmt, ...); -static INLINE void RARCH_LOG_OUTPUT_V(const char *tag, - const char *msg, va_list ap) -{ - RARCH_LOG_V(tag, msg, ap); -} - -static INLINE void RARCH_WARN_V(const char *tag, - const char *fmt, va_list ap) -{ - RARCH_LOG_V(tag, fmt, ap); -} - -static INLINE void RARCH_ERR_V(const char *tag, - const char *fmt, va_list ap) -{ - RARCH_LOG_V(tag, fmt, ap); -} +#define RARCH_LOG_OUTPUT_V RARCH_LOG_V +#define RARCH_WARN_V RARCH_LOG_V +#define RARCH_ERR_V RARCH_LOG_V #endif RETRO_END_DECLS