aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/log.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-06-02 11:24:02 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-06-02 11:24:02 -0300
commitcab8cf970c09ea465d30e11eb356e2e5d37dc544 (patch)
tree5d274c892e4d53f5e976ae8f6f58aba030785e02 /src/nvim/log.h
parent52a9a5b0b0c53a1481d901f39ed0d1e7e86c3853 (diff)
parent4aecb71b0e819aa84a430dacdab2146229c410a5 (diff)
downloadrneovim-cab8cf970c09ea465d30e11eb356e2e5d37dc544.tar.gz
rneovim-cab8cf970c09ea465d30e11eb356e2e5d37dc544.tar.bz2
rneovim-cab8cf970c09ea465d30e11eb356e2e5d37dc544.zip
Merge pull request #710 'Automatically generate declarations'
Diffstat (limited to 'src/nvim/log.h')
-rw-r--r--src/nvim/log.h9
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
-