diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-29 22:47:03 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-29 22:47:03 +0100 |
commit | baaa7e9ec7398a813e21285c272fa99792642077 (patch) | |
tree | e9636114bf7c80ae3f7ded9ba9edb8b3ea504344 /src/term.c | |
parent | 92b8b2d307e34117f146319872010b0ccc9d2713 (diff) | |
download | vim-git-baaa7e9ec7398a813e21285c272fa99792642077.tar.gz |
patch 7.4.1199v7.4.1199
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/term.c b/src/term.c index ea81fef5b..353c9a6b5 100644 --- a/src/term.c +++ b/src/term.c @@ -74,36 +74,36 @@ struct builtin_term /* start of keys that are not directly used by Vim but can be mapped */ #define BT_EXTRA_KEYS 0x101 -static struct builtin_term *find_builtin_term __ARGS((char_u *name)); -static void parse_builtin_tcap __ARGS((char_u *s)); -static void term_color __ARGS((char_u *s, int n)); -static void gather_termleader __ARGS((void)); +static struct builtin_term *find_builtin_term(char_u *name); +static void parse_builtin_tcap(char_u *s); +static void term_color(char_u *s, int n); +static void gather_termleader(void); #ifdef FEAT_TERMRESPONSE -static void req_codes_from_term __ARGS((void)); -static void req_more_codes_from_term __ARGS((void)); -static void got_code_from_term __ARGS((char_u *code, int len)); -static void check_for_codes_from_term __ARGS((void)); +static void req_codes_from_term(void); +static void req_more_codes_from_term(void); +static void got_code_from_term(char_u *code, int len); +static void check_for_codes_from_term(void); #endif #if defined(FEAT_GUI) \ || (defined(FEAT_MOUSE) && (!defined(UNIX) || defined(FEAT_MOUSE_XTERM) \ || defined(FEAT_MOUSE_GPM) || defined(FEAT_SYSMOUSE))) -static int get_bytes_from_buf __ARGS((char_u *, char_u *, int)); +static int get_bytes_from_buf(char_u *, char_u *, int); #endif -static void del_termcode_idx __ARGS((int idx)); -static int term_is_builtin __ARGS((char_u *name)); -static int term_7to8bit __ARGS((char_u *p)); +static void del_termcode_idx(int idx); +static int term_is_builtin(char_u *name); +static int term_7to8bit(char_u *p); #ifdef FEAT_TERMRESPONSE -static void switch_to_8bit __ARGS((void)); +static void switch_to_8bit(void); #endif #ifdef HAVE_TGETENT -static char_u *tgetent_error __ARGS((char_u *, char_u *)); +static char_u *tgetent_error(char_u *, char_u *); /* * Here is our own prototype for tgetstr(), any prototypes from the include * files have been disabled by the define at the start of this file. */ -char *tgetstr __ARGS((char *, char **)); +char *tgetstr(char *, char **); # ifdef FEAT_TERMRESPONSE /* Change this to "if 1" to debug what happens with termresponse. */ @@ -155,7 +155,7 @@ char *UP, *BC, PC; # define TGETSTR(s, p) vim_tgetstr((s), (p)) # define TGETENT(b, t) tgetent((char *)(b), (char *)(t)) -static char_u *vim_tgetstr __ARGS((char *s, char_u **pp)); +static char_u *vim_tgetstr(char *s, char_u **pp); #endif /* HAVE_TGETENT */ static int detected_8bit = FALSE; /* detected 8-bit terminal */ @@ -1502,7 +1502,7 @@ parse_builtin_tcap(term) } } #if defined(HAVE_TGETENT) || defined(FEAT_TERMRESPONSE) -static void set_color_count __ARGS((int nr)); +static void set_color_count(int nr); /* * Set number of colors. @@ -2398,7 +2398,7 @@ tltoa(i) * minimal tgoto() implementation. * no padding and we only parse for %i %d and %+char */ -static char *tgoto __ARGS((char *, int, int)); +static char *tgoto(char *, int, int); static char * tgoto(cm, x, y) @@ -2570,7 +2570,7 @@ out_char(c) out_flush(); } -static void out_char_nf __ARGS((unsigned)); +static void out_char_nf(unsigned); /* * out_char_nf(c): like out_char(), but don't flush when p_wd is set @@ -2898,7 +2898,7 @@ add_long_to_buf(val, dst) } } -static int get_long_from_buf __ARGS((char_u *buf, long_u *val)); +static int get_long_from_buf(char_u *buf, long_u *val); /* * Interpret the next string of bytes in buf as a long integer, with the most @@ -3692,7 +3692,7 @@ static struct termcode static int tc_max_len = 0; /* number of entries that termcodes[] can hold */ static int tc_len = 0; /* current number of entries in termcodes[] */ -static int termcode_star __ARGS((char_u *code, int len)); +static int termcode_star(char_u *code, int len); void clear_termcodes() |