]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.1218 v7.4.1218
authorBram Moolenaar <Bram@vim.org>
Sat, 30 Jan 2016 22:26:34 +0000 (23:26 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 30 Jan 2016 22:26:34 +0000 (23:26 +0100)
Problem:    Missing change in configure.  More changes for function style.
Solution:   Avoid the typos.

runtime/tools/ccfilter.c
src/config.h.in
src/configure.in
src/os_msdos.c
src/version.c

index 270333910fa01cd711f273f8b563132a57e120e6..f5d560dbad5d6f9c263066dcb397b8d123d4dd6c 100644 (file)
@@ -85,7 +85,8 @@ const char USAGE[] =
 
 
 int ShowUsage( char *szError )
-{ int i;
+{
+  int i;
 
   fprintf( stderr, USAGE );
 
@@ -101,7 +102,8 @@ int ShowUsage( char *szError )
   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);
index 9807bd23e970a43c35d59faf9f86630a29c0962f..8e115f5f16d0af1ddfee0c9db21e4200a842c3a9 100644 (file)
 /* #undef STDC_HEADERS */
 
 /* instead, we check a few STDC things ourselves */
-#undef HAVE_STDARG_H
 #undef HAVE_STDLIB_H
 #undef HAVE_STRING_H
 
index ffa0b2ded1ac746e05d2ac67eea59dbc71128a4f..08ba5623e3c1e66392344d2cb90b622752f1d18e 100644 (file)
@@ -2994,7 +2994,7 @@ if test $ac_cv_header_sys_wait_h = no; then
                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 \
index 1b75a30f7fd2b2655a8bc3936b67b87ead474377..840f654fb48e0dcfac2983739d786e388ad3a8d8 100644 (file)
@@ -370,8 +370,7 @@ mytextbackground(int iBkgColor)
  */
 
     static long
-mygetdigits(pp)
-    char_u **pp;
+mygetdigits(char_u **pp)
 {
     char_u     *p;
     long       retval = 0;
@@ -473,7 +472,7 @@ translate_altkeys(int rawkey)
  * 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 @@ cbrk_handler(void)
  * 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 @@ mch_set_shellsize(void)
  * 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 @@ mch_new_shellsize()
  * 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 @@ mch_isdir(char_u *name)
  * 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;
index d57420b08ef51a78ad5124bf73baf12efc822550..dd2f95d482a17dd29dbc6d47a6554f0a0f38188d 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1218,
 /**/
     1217,
 /**/