Mercurial > vim
diff src/termlib.c @ 7805:0b6c37dd858d v7.4.1199
commit https://github.com/vim/vim/commit/baaa7e9ec7398a813e21285c272fa99792642077
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 29 22:47:03 2016 +0100
patch 7.4.1199
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 29 Jan 2016 23:00:05 +0100 |
parents | 8bd38abda314 |
children | 4d7ce6c03fda |
line wrap: on
line diff
--- a/src/termlib.c +++ b/src/termlib.c @@ -17,11 +17,11 @@ # include <sgtty.h> #endif -static int getent __ARGS((char *, char *, FILE *, int)); -static int nextent __ARGS((char *, FILE *, int)); -static int _match __ARGS((char *, char *)); -static char *_addfmt __ARGS((char *, char *, int)); -static char *_find __ARGS((char *, char *)); +static int getent(char *, char *, FILE *, int); +static int nextent(char *, FILE *, int); +static int _match(char *, char *); +static char *_addfmt(char *, char *, int); +static char *_find(char *, char *); /* * Global variables for termlib @@ -536,11 +536,11 @@ long _bauds[16]={ tputs(cp, affcnt, outc) char *cp; /* string to print */ int affcnt; /* Number of lines affected */ - void (*outc) __ARGS((unsigned int));/* routine to output 1 character */ + void (*outc)(unsigned int);/* routine to output 1 character */ { long frac, /* 10^(#digits after decimal point) */ counter, /* digits */ - atol __ARGS((const char *)); + atol(const char *); if (VIM_ISDIGIT(*cp)) { counter = 0;