diff options
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 73fd567429..dfddce3447 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -52,20 +52,19 @@ #include "undo.h" #include "window.h" -static int linelen __ARGS((int *has_tab)); -static void do_filter __ARGS((linenr_T line1, linenr_T line2, exarg_T *eap, - char_u *cmd, int do_in, - int do_out)); -static char_u *viminfo_filename __ARGS((char_u *)); -static void do_viminfo __ARGS((FILE *fp_in, FILE *fp_out, int flags)); -static int viminfo_encoding __ARGS((vir_T *virp)); -static int read_viminfo_up_to_marks __ARGS((vir_T *virp, int forceit, - int writing)); - -static int check_readonly __ARGS((int *forceit, buf_T *buf)); -static void delbuf_msg __ARGS((char_u *name)); -static int -help_compare __ARGS((const void *s1, const void *s2)); +static int linelen(int *has_tab); +static void do_filter(linenr_T line1, linenr_T line2, exarg_T *eap, + char_u *cmd, int do_in, + int do_out); +static char_u *viminfo_filename(char_u *); +static void do_viminfo(FILE *fp_in, FILE *fp_out, int flags); +static int viminfo_encoding(vir_T *virp); +static int read_viminfo_up_to_marks(vir_T *virp, int forceit, + int writing); + +static int check_readonly(int *forceit, buf_T *buf); +static void delbuf_msg(char_u *name); +static int help_compare(const void *s1, const void *s2); /* * ":ascii" and "ga". @@ -285,7 +284,7 @@ typedef struct { } sorti_T; static int -sort_compare __ARGS((const void *s1, const void *s2)); +sort_compare(const void *s1, const void *s2); static int sort_compare(const void *s1, const void *s2) { @@ -1395,7 +1394,7 @@ void append_redir(char_u *buf, int buflen, char_u *opt, char_u *fname) } -static int no_viminfo __ARGS((void)); +static int no_viminfo(void); static int viminfo_errcnt; static int no_viminfo(void) { @@ -5327,8 +5326,8 @@ void ex_viusage(exarg_T *eap) do_cmdline_cmd((char_u *)"help normal-index"); } -static void helptags_one __ARGS((char_u *dir, char_u *ext, char_u *lang, - int add_help_tags)); +static void helptags_one(char_u *dir, char_u *ext, char_u *lang, + int add_help_tags); /* * ":helptags" |