From 68c2f638e65d914dc6e84eb7ce2624f08af525c0 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 30 Jan 2016 17:24:07 +0100 Subject: patch 7.4.1208 Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi) --- src/if_perlsfio.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/if_perlsfio.c') 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; -- cgit v1.2.3