summaryrefslogtreecommitdiff
path: root/src/proto.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-07-11 22:34:51 +0200
committerBram Moolenaar <Bram@vim.org>2017-07-11 22:34:51 +0200
commit8327d1df1754b33d8a93b3411f30692f0042f4ce (patch)
tree6f2d59fd480125984eef99d22941edc37f23d31c /src/proto.h
parent292eff0c5aacb8531d65509679b6c29eae8dc22a (diff)
downloadvim-git-8327d1df1754b33d8a93b3411f30692f0042f4ce.tar.gz
patch 8.0.0709: libvterm cannot use vsnprintf()v8.0.0709
Problem: Libvterm cannot use vsnprintf(), it does not exist in C90. Solution: Use vim_vsnprintf() instead.
Diffstat (limited to 'src/proto.h')
-rw-r--r--src/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proto.h b/src/proto.h
index 729fea38a..b5a6224a9 100644
--- a/src/proto.h
+++ b/src/proto.h
@@ -127,7 +127,8 @@ _RTLENTRYF
# endif
vim_snprintf(char *, size_t, char *, ...);
-int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs);
+int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap);
+int vim_vsnprintf_typval(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs);
# include "message.pro"
# include "misc1.pro"