diff options
Diffstat (limited to 'src/nvim/log.h')
-rw-r--r-- | src/nvim/log.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nvim/log.h b/src/nvim/log.h index 4177a0a3d5..db73910e1e 100644 --- a/src/nvim/log.h +++ b/src/nvim/log.h @@ -10,9 +10,6 @@ #define WARNING_LOG_LEVEL 2 #define ERROR_LOG_LEVEL 3 -bool do_log(int log_level, const char *func_name, int line_num, - const char* fmt, ...) FUNC_ATTR_UNUSED; - #define DLOG(...) #define ILOG(...) #define WLOG(...) @@ -53,5 +50,7 @@ bool do_log(int log_level, const char *func_name, int line_num, #endif +#ifdef INCLUDE_GENERATED_DECLARATIONS +# include "log.h.generated.h" +#endif #endif // NVIM_LOG_H - |