diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-30 17:24:07 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-30 17:24:07 +0100 |
commit | 68c2f638e65d914dc6e84eb7ce2624f08af525c0 (patch) | |
tree | 051b6b7500c6ac80c45cdeff26296c5b7acb88ff /src/if_perlsfio.c | |
parent | 66f948e928d5e0cd3123af902aa8ac1613534c94 (diff) | |
download | vim-git-68c2f638e65d914dc6e84eb7ce2624f08af525c0.tar.gz |
patch 7.4.1208v7.4.1208
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
Diffstat (limited to 'src/if_perlsfio.c')
-rw-r--r-- | src/if_perlsfio.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/if_perlsfio.c b/src/if_perlsfio.c index 0ae1b956d..d29e6d7ab 100644 --- a/src/if_perlsfio.c +++ b/src/if_perlsfio.c @@ -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; |