summaryrefslogtreecommitdiffstats
path: root/src/vim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index 626c0ad120..78dede0cd7 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2549,4 +2549,11 @@ typedef enum {
#define TERM_START_FORCEIT 2
#define TERM_START_SYSTEM 4
+/* Not generated automatically, to add extra attribute. */
+void ch_log(channel_T *ch, const char *fmt, ...)
+#ifdef __GNUC__
+__attribute__((format(printf, 2, 3)))
+#endif
+;
+
#endif /* VIM__H */