forked from aniani/vim
patch 9.0.1336: functions without arguments are not always declared properly
Problem: Functions without arguments are not always declared properly. Solution: Use "(void)" instead of "()". (Yegappan Lakshmanan, closes #12031)
This commit is contained in:
committed by
Bram Moolenaar
parent
d950984489
commit
a23a11b5bf
@@ -1,11 +1,11 @@
|
||||
/* filepath.c */
|
||||
int modify_fname(char_u *src, int tilde_file, int *usedlen, char_u **fnamep, char_u **bufp, int *fnamelen);
|
||||
void shorten_dir(char_u *str);
|
||||
int file_is_readable(char_u *fname);
|
||||
void f_chdir(typval_T *argvars, typval_T *rettv);
|
||||
void f_delete(typval_T *argvars, typval_T *rettv);
|
||||
void f_executable(typval_T *argvars, typval_T *rettv);
|
||||
void f_exepath(typval_T *argvars, typval_T *rettv);
|
||||
int file_is_readable(char_u *fname);
|
||||
void f_filereadable(typval_T *argvars, typval_T *rettv);
|
||||
void f_filewritable(typval_T *argvars, typval_T *rettv);
|
||||
void f_finddir(typval_T *argvars, typval_T *rettv);
|
||||
|
||||
@@ -32,8 +32,6 @@ void gui_mch_set_scrollbar_colors(scrollbar_T *sb);
|
||||
Window gui_x11_get_wid(void);
|
||||
char_u *gui_mch_browse(int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter);
|
||||
int gui_mch_dialog(int type, char_u *title, char_u *message, char_u *button_names, int dfltbutton, char_u *textfield, int ex_cmd);
|
||||
void gui_mch_enable_footer(int showit);
|
||||
void gui_mch_set_footer(char_u *s);
|
||||
void gui_mch_show_toolbar(int showit);
|
||||
int gui_mch_compute_toolbar_height(void);
|
||||
void motif_get_toolbar_colors(Pixel *bgp, Pixel *fgp, Pixel *bsp, Pixel *tsp, Pixel *hsp);
|
||||
|
||||
Reference in New Issue
Block a user