0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 7.4.1208

Problem:    Using old style function declarations.
Solution:   Change to new style function declarations. (script by Hirohito
            Higashi)
This commit is contained in:
Bram Moolenaar
2016-01-30 17:24:07 +01:00
parent 66f948e928
commit 68c2f638e6
18 changed files with 687 additions and 981 deletions

View File

@@ -25,11 +25,11 @@
#define NIL(type) ((type)0)
static int
sfvimwrite(f, buf, n, disc)
Sfio_t *f; /* stream involved */
char *buf; /* buffer to read from */
int n; /* number of bytes to write */
Sfdisc_t *disc; /* discipline */
sfvimwrite(
Sfio_t *f, /* stream involved */
char *buf, /* buffer to read from */
int n, /* number of bytes to write */
Sfdisc_t *disc) /* discipline */
{
char_u *str;
@@ -47,7 +47,7 @@ sfvimwrite(f, buf, n, disc)
* Create Vim discipline
*/
Sfdisc_t *
sfdcnewvim()
sfdcnewvim(void)
{
Sfdisc_t *disc;