diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-29 22:36:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-29 22:36:45 +0100 |
commit | 92b8b2d307e34117f146319872010b0ccc9d2713 (patch) | |
tree | 14592978271f07a5bebd2e7001c2c1f2e7c3a60b /src/memline.c | |
parent | d25c16e2f2776d50245bf31d6e4d5364f12d188e (diff) | |
download | vim-git-92b8b2d307e34117f146319872010b0ccc9d2713.tar.gz |
patch 7.4.1198v7.4.1198
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
Also remove use of HAVE_STDARG_H.
Diffstat (limited to 'src/memline.c')
-rw-r--r-- | src/memline.c | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/memline.c b/src/memline.c index 153e4deeb..34887c31f 100644 --- a/src/memline.c +++ b/src/memline.c @@ -235,41 +235,41 @@ typedef enum { } upd_block0_T; #ifdef FEAT_CRYPT -static void ml_set_mfp_crypt __ARGS((buf_T *buf)); -static void ml_set_b0_crypt __ARGS((buf_T *buf, ZERO_BL *b0p)); +static void ml_set_mfp_crypt(buf_T *buf); +static void ml_set_b0_crypt(buf_T *buf, ZERO_BL *b0p); #endif -static int ml_check_b0_id __ARGS((ZERO_BL *b0p)); -static void ml_upd_block0 __ARGS((buf_T *buf, upd_block0_T what)); -static void set_b0_fname __ARGS((ZERO_BL *, buf_T *buf)); -static void set_b0_dir_flag __ARGS((ZERO_BL *b0p, buf_T *buf)); +static int ml_check_b0_id(ZERO_BL *b0p); +static void ml_upd_block0(buf_T *buf, upd_block0_T what); +static void set_b0_fname(ZERO_BL *, buf_T *buf); +static void set_b0_dir_flag(ZERO_BL *b0p, buf_T *buf); #ifdef FEAT_MBYTE -static void add_b0_fenc __ARGS((ZERO_BL *b0p, buf_T *buf)); +static void add_b0_fenc(ZERO_BL *b0p, buf_T *buf); #endif -static time_t swapfile_info __ARGS((char_u *)); -static int recov_file_names __ARGS((char_u **, char_u *, int prepend_dot)); -static int ml_append_int __ARGS((buf_T *, linenr_T, char_u *, colnr_T, int, int)); -static int ml_delete_int __ARGS((buf_T *, linenr_T, int)); -static char_u *findswapname __ARGS((buf_T *, char_u **, char_u *)); -static void ml_flush_line __ARGS((buf_T *)); -static bhdr_T *ml_new_data __ARGS((memfile_T *, int, int)); -static bhdr_T *ml_new_ptr __ARGS((memfile_T *)); -static bhdr_T *ml_find_line __ARGS((buf_T *, linenr_T, int)); -static int ml_add_stack __ARGS((buf_T *)); -static void ml_lineadd __ARGS((buf_T *, int)); -static int b0_magic_wrong __ARGS((ZERO_BL *)); +static time_t swapfile_info(char_u *); +static int recov_file_names(char_u **, char_u *, int prepend_dot); +static int ml_append_int(buf_T *, linenr_T, char_u *, colnr_T, int, int); +static int ml_delete_int(buf_T *, linenr_T, int); +static char_u *findswapname(buf_T *, char_u **, char_u *); +static void ml_flush_line(buf_T *); +static bhdr_T *ml_new_data(memfile_T *, int, int); +static bhdr_T *ml_new_ptr(memfile_T *); +static bhdr_T *ml_find_line(buf_T *, linenr_T, int); +static int ml_add_stack(buf_T *); +static void ml_lineadd(buf_T *, int); +static int b0_magic_wrong(ZERO_BL *); #ifdef CHECK_INODE -static int fnamecmp_ino __ARGS((char_u *, char_u *, long)); +static int fnamecmp_ino(char_u *, char_u *, long); #endif -static void long_to_char __ARGS((long, char_u *)); -static long char_to_long __ARGS((char_u *)); +static void long_to_char(long, char_u *); +static long char_to_long(char_u *); #if defined(UNIX) || defined(WIN3264) -static char_u *make_percent_swname __ARGS((char_u *dir, char_u *name)); +static char_u *make_percent_swname(char_u *dir, char_u *name); #endif #ifdef FEAT_CRYPT -static cryptstate_T *ml_crypt_prepare __ARGS((memfile_T *mfp, off_t offset, int reading)); +static cryptstate_T *ml_crypt_prepare(memfile_T *mfp, off_t offset, int reading); #endif #ifdef FEAT_BYTEOFF -static void ml_updatechunk __ARGS((buf_T *buf, long line, long len, int updtype)); +static void ml_updatechunk(buf_T *buf, long line, long len, int updtype); #endif /* @@ -4089,7 +4089,7 @@ get_file_in_dir(fname, dname) return retval; } -static void attention_message __ARGS((buf_T *buf, char_u *fname)); +static void attention_message(buf_T *buf, char_u *fname); /* * Print the ATTENTION message: info about an existing swap file. @@ -4140,7 +4140,7 @@ attention_message(buf, fname) } #ifdef FEAT_AUTOCMD -static int do_swapexists __ARGS((buf_T *buf, char_u *fname)); +static int do_swapexists(buf_T *buf, char_u *fname); /* * Trigger the SwapExists autocommands. |