1
0
forked from aniani/vim

patch 7.4.1225

Problem:    Still a few old style function declarations.
Solution:   Make them new style. (Hirohito Higashi)
This commit is contained in:
Bram Moolenaar
2016-01-31 17:30:51 +01:00
parent bbb3339dbf
commit d14e00ea67
12 changed files with 66 additions and 84 deletions

View File

@@ -6001,7 +6001,7 @@ list_free(
* It is not initialized, don't forget to set v_lock.
*/
listitem_T *
listitem_alloc()
listitem_alloc(void)
{
return (listitem_T *)alloc(sizeof(listitem_T));
}
@@ -10902,13 +10902,11 @@ f_filewritable(typval_T *argvars, typval_T *rettv)
rettv->vval.v_number = filewritable(get_tv_string(&argvars[0]));
}
static void findfilendir(typval_T *argvars, typval_T *rettv, int find_what);
static void
findfilendir(argvars, rettv, find_what)
typval_T *argvars UNUSED;
typval_T *rettv;
int find_what UNUSED;
findfilendir(
typval_T *argvars UNUSED,
typval_T *rettv,
int find_what UNUSED)
{
#ifdef FEAT_SEARCHPATH
char_u *fname;