Mercurial > vim
diff src/hangulin.c @ 7803:37c929c4a073 v7.4.1198
commit https://github.com/vim/vim/commit/92b8b2d307e34117f146319872010b0ccc9d2713
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 29 22:36:45 2016 +0100
patch 7.4.1198
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
Also remove use of HAVE_STDARG_H.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 29 Jan 2016 22:45:06 +0100 |
parents | 310925215e17 |
children | bcef391c101c |
line wrap: on
line diff
--- a/src/hangulin.c +++ b/src/hangulin.c @@ -35,10 +35,10 @@ static char_u stack[20] = {0}; static int last_l = -1, last_ll = -1; static int hangul_keyboard_type = HANGUL_DEFAULT_KEYBOARD; -static void convert_ks_to_3 __ARGS((const char_u *src, int *fp, int *mp, int *lp)); -static int convert_3_to_ks __ARGS((int fv, int mv, int lv, char_u *des)); -static int hangul_automata2 __ARGS((char_u *buf, unsigned int *c)); -static int hangul_automata3 __ARGS((char_u *buf, unsigned int *c)); +static void convert_ks_to_3(const char_u *src, int *fp, int *mp, int *lp); +static int convert_3_to_ks(int fv, int mv, int lv, char_u *des); +static int hangul_automata2(char_u *buf, unsigned int *c); +static int hangul_automata3(char_u *buf, unsigned int *c); #define push(x) {stack[ sp++ ] = *(x); stack[sp++] = *((x)+1);} #define pop(x) {*((x) + 1) = stack[--sp]; *(x) = stack[--sp];}