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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user