diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-23 11:17:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-23 11:20:20 +0300 |
commit | 702a2ba0ef93f2f5a8544565b15c04dba73206c3 (patch) | |
tree | 3f6b98d91f9e0d806ac63b1130356371d901f76f /intern/clog/CLG_log.h | |
parent | af5cfa7544cb53c20a88bc880606e91164859239 (diff) |
Cleanup: quiet undeclared variable warnings
Diffstat (limited to 'intern/clog/CLG_log.h')
-rw-r--r-- | intern/clog/CLG_log.h | 1 |
1 files changed, 1 insertions, 0 deletions
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. */ |