aboutsummaryrefslogtreecommitdiff
path: root/src/hangulin.c
diff options
context:
space:
mode:
authorNicolas Pierron <nicolas.b.pierron@gmail.com>2014-03-02 14:11:35 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-02 14:19:59 -0300
commitd9283c4927cc5f926fa796acc2568610bd9a80d6 (patch)
treeee22db97987af38c538d1bd6501a384203579949 /src/hangulin.c
parent2bd6d444033b5746595713f4d037de135379a23e (diff)
downloadrneovim-d9283c4927cc5f926fa796acc2568610bd9a80d6.tar.gz
rneovim-d9283c4927cc5f926fa796acc2568610bd9a80d6.tar.bz2
rneovim-d9283c4927cc5f926fa796acc2568610bd9a80d6.zip
Remove __ARGS macro. Close #205
This is a squash of all commits sent to #81. - Remove unused undef of __ARGS. - Fix mch_rename declaration. - Follow changes related to moved & extracted files. - Properly indent function declarations of getchar.h and quickfix.c.
Diffstat (limited to 'src/hangulin.c')
-rw-r--r--src/hangulin.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/hangulin.c b/src/hangulin.c
index f7619ef0b3..4f84312cad 100644
--- a/src/hangulin.c
+++ b/src/hangulin.c
@@ -41,11 +41,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]; }