diff options
Diffstat (limited to 'src/nvim/log.h')
-rw-r--r-- | src/nvim/log.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/nvim/log.h b/src/nvim/log.h index 4177a0a3d5..6d97304af4 100644 --- a/src/nvim/log.h +++ b/src/nvim/log.h @@ -3,16 +3,11 @@ #include <stdbool.h> -#include "nvim/func_attr.h" - #define DEBUG_LOG_LEVEL 0 #define INFO_LOG_LEVEL 1 #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 +48,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 - |