summaryrefslogtreecommitdiffstats
path: root/src/if_perlsfio.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-30 17:24:07 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-30 17:24:07 +0100
commit68c2f638e65d914dc6e84eb7ce2624f08af525c0 (patch)
tree051b6b7500c6ac80c45cdeff26296c5b7acb88ff /src/if_perlsfio.c
parent66f948e928d5e0cd3123af902aa8ac1613534c94 (diff)
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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/if_perlsfio.c b/src/if_perlsfio.c
index 0ae1b956dc..d29e6d7ab1 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;