]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
tvhlog: fix tvhdbg() prototype when traces are not activated, fixes #5362
authorJaroslav Kysela <perex@perex.cz>
Wed, 28 Nov 2018 19:53:59 +0000 (20:53 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 28 Nov 2018 19:53:59 +0000 (20:53 +0100)
src/tvhlog.h

index 7bef63aaf5449edf68892b9a3bb217e1fd4c10fe..c891b826bd0550b73d1dcf6d605cd8637aa6d99a 100644 (file)
@@ -248,7 +248,7 @@ void tvhlog_backtrace_printf(const char *fmt, ...);
 #if ENABLE_TRACE
 void tvhdbg(int subsys, const char *fmt, ...);
 #else
-static void tvhdbg(int subsys, const char *fmt, ...) {};
+static inline void tvhdbg(int subsys, const char *fmt, ...) {};
 #endif
 
 #endif /* __TVH_LOGGING_H__ */