patch 7.4.1218
Problem: Missing change in configure. More changes for function style.
Solution: Avoid the typos.
diff --git a/runtime/tools/ccfilter.c b/runtime/tools/ccfilter.c
index 2703339..f5d560d 100644
--- a/runtime/tools/ccfilter.c
+++ b/runtime/tools/ccfilter.c
@@ -85,7 +85,8 @@
int ShowUsage( char *szError )
-{ int i;
+{
+ int i;
fprintf( stderr, USAGE );
@@ -101,7 +102,8 @@
return 0;
}
-char *echogets(char *s, int echo) {
+char *echogets(char *s, int echo)
+{
char * const retval=fgets(s, LINELENGTH, stdin);
if (echo!=0 && retval!=NULL) {
fputs(retval, stderr);
diff --git a/src/config.h.in b/src/config.h.in
index 9807bd2..8e115f5 100644
--- a/src/config.h.in
+++ b/src/config.h.in
@@ -296,7 +296,6 @@
/* #undef STDC_HEADERS */
/* instead, we check a few STDC things ourselves */
-#undef HAVE_STDARG_H
#undef HAVE_STDLIB_H
#undef HAVE_STRING_H
diff --git a/src/configure.in b/src/configure.in
index ffa0b2d..08ba562 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -2994,7 +2994,7 @@
AC_MSG_RESULT(no))
fi
-AC_CHECK_HEADERS(stdarg.h stdint.h stdlib.h string.h \
+AC_CHECK_HEADERS(stdint.h stdlib.h string.h \
sys/select.h sys/utsname.h termcap.h fcntl.h \
sgtty.h sys/ioctl.h sys/time.h sys/types.h \
termio.h iconv.h inttypes.h langinfo.h math.h \
diff --git a/src/os_msdos.c b/src/os_msdos.c
index 1b75a30..840f654 100644
--- a/src/os_msdos.c
+++ b/src/os_msdos.c
@@ -370,8 +370,7 @@
*/
static long
-mygetdigits(pp)
- char_u **pp;
+mygetdigits(char_u **pp)
{
char_u *p;
long retval = 0;
@@ -473,7 +472,7 @@
* Set normal fg/bg color, based on T_ME. Called when t_me has been set.
*/
void
-mch_set_normal_colors()
+mch_set_normal_colors(void)
{
char_u *p;
int n;
@@ -1232,8 +1231,16 @@
* For DOS 3 and later return 3 (Fail)
*/
static void interrupt
-catch_cint(bp, di, si, ds, es, dx, cx, bx, ax)
- unsigned bp, di, si, ds, es, dx, cx, bx, ax;
+catch_cint(
+ unsigned bp,
+ unsigned di,
+ unsigned si,
+ unsigned ds,
+ unsigned es,
+ unsigned dx,
+ unsigned cx,
+ unsigned bx,
+ unsigned ax)
{
ax = (ax & 0xff00); /* set AL to 0 */
if (_osmajor >= 3)
@@ -1876,7 +1883,7 @@
* Rows and/or Columns has changed.
*/
void
-mch_new_shellsize()
+mch_new_shellsize(void)
{
#ifdef FEAT_MOUSE
/* best guess for mouse coordinate computations */
@@ -1897,7 +1904,7 @@
* DOS console when 'columns' is set to a too large value.
*/
void
-mch_check_columns()
+mch_check_columns(void)
{
static union REGS regs;
@@ -2946,10 +2953,10 @@
* Return -1 if unknown.
*/
int
-mch_can_exe(name, path, use_path)
- char_u *name;
- char_u **path;
- int use_path;
+mch_can_exe(
+ char_u *name,
+ char_u **path,
+ int use_path)
{
char *p;
int mode;
diff --git a/src/version.c b/src/version.c
index d57420b..dd2f95d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1218,
+/**/
1217,
/**/
1216,