Mercurial > vim
comparison src/proto.h @ 7838:cfed0e9f0ca2 v7.4.1216
commit https://github.com/vim/vim/commit/ba4ef2757cfc126f342b710f1ad9ea39e6b56cec
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 30 21:48:49 2016 +0100
patch 7.4.1216
Problem: Still using HAVE_STDARG_H.
Solution: Assume it's always defined.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Jan 2016 22:00:05 +0100 |
parents | 1a5d34492798 |
children | 563c923b1584 |
comparison
equal
deleted
inserted
replaced
7837:33ba2adb6065 | 7838:cfed0e9f0ca2 |
---|---|
102 # include "memline.pro" | 102 # include "memline.pro" |
103 # ifdef FEAT_MENU | 103 # ifdef FEAT_MENU |
104 # include "menu.pro" | 104 # include "menu.pro" |
105 # endif | 105 # endif |
106 | 106 |
107 # if !defined MESSAGE_FILE || defined(HAVE_STDARG_H) | 107 /* These prototypes cannot be produced automatically. */ |
108 /* These prototypes cannot be produced automatically and conflict with | |
109 * the old-style prototypes in message.c. */ | |
110 int | 108 int |
111 # ifdef __BORLANDC__ | 109 # ifdef __BORLANDC__ |
112 _RTLENTRYF | 110 _RTLENTRYF |
113 # endif | 111 # endif |
114 smsg(char_u *, ...); | 112 smsg(char_u *, ...); |
129 # ifdef __BORLANDC__ | 127 # ifdef __BORLANDC__ |
130 _RTLENTRYF | 128 _RTLENTRYF |
131 # endif | 129 # endif |
132 vim_snprintf(char *, size_t, char *, ...); | 130 vim_snprintf(char *, size_t, char *, ...); |
133 | 131 |
134 # if defined(HAVE_STDARG_H) | |
135 int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs); | 132 int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs); |
136 # endif | |
137 # endif | |
138 | 133 |
139 # include "message.pro" | 134 # include "message.pro" |
140 # include "misc1.pro" | 135 # include "misc1.pro" |
141 # include "misc2.pro" | 136 # include "misc2.pro" |
142 #ifndef HAVE_STRPBRK /* not generated automatically from misc2.c */ | 137 #ifndef HAVE_STRPBRK /* not generated automatically from misc2.c */ |