From 702a2ba0ef93f2f5a8544565b15c04dba73206c3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 23 Feb 2019 19:17:30 +1100 Subject: Cleanup: quiet undeclared variable warnings --- intern/clog/CLG_log.h | 1 + 1 file changed, 1 insertion(+) (limited to 'intern') diff --git a/intern/clog/CLG_log.h b/intern/clog/CLG_log.h index 810997ac78b..0cf1bda6625 100644 --- a/intern/clog/CLG_log.h +++ b/intern/clog/CLG_log.h @@ -148,6 +148,7 @@ void CLG_logref_init(CLG_LogRef *clg_ref); /** Declare outside function, declare as extern in header. */ #define CLG_LOGREF_DECLARE_GLOBAL(var, id) \ static CLG_LogRef _static_ ## var = {id}; \ + extern CLG_LogRef *var; \ CLG_LogRef *var = &_static_ ## var /** Initialize struct once. */ -- cgit v1.2.3