From 44a84950bda09783e60f47899754dd4c2e8df963 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Sun, 16 Mar 2008 15:41:49 -0300 Subject: [PATCH] Ansify a few non ansified functions. --- xtrapchar.c | 28 +++++++--------------------- 1 files changed, 7 insertions(+), 21 deletions(-) diff --git a/xtrapchar.c b/xtrapchar.c index 06b9400..9435c9b 100644 --- a/xtrapchar.c +++ b/xtrapchar.c @@ -368,12 +368,8 @@ main(int argc, char *argv[]) exit(0L); } -static int get_csi_key(tc, private, param, nparam, inter, ninter, final) - XETC *tc; - int private; - int param[], nparam; - int inter[], ninter; - int final; +static int get_csi_key(XETC *tc, int private, int param[], int nparam, + int inter[], int ninter, int final) { KeySym keysym = 0; switch(param[1]) @@ -445,12 +441,8 @@ static int get_csi_key(tc, private, param, nparam, inter, ninter, final) * pointer position) * */ -static void send_special(tc, private, param, nparam, inter, ninter, final) - XETC *tc; - int private; - int param[], nparam; - int inter[], ninter; - int final; +static void send_special(XETC *tc, int private, int param[], int nparam, + int inter[], int ninter, int final) { switch(private) { @@ -619,12 +611,8 @@ static void send_special(tc, private, param, nparam, inter, ninter, final) } } -static int get_ss3_key(tc, private, param, nparam, inter, ninter, final) - XETC *tc; - int private; - int param[], nparam; - int inter[], ninter; - int final; +static int get_ss3_key(XETC *tc, int private, int param[], int nparam, + int inter[], int ninter, int final) { KeySym keysym = 0; switch(param[1]) @@ -665,9 +653,7 @@ static int get_ss3_key(tc, private, param, nparam, inter, ninter, final) return(get_keycode(tc, keysym)); } -static KeyCode get_typical_char(tc, keysym) - XETC *tc; - CARD32 keysym; +static KeyCode get_typical_char(XETC *tc, CARD32 keysym) { if (iscntrl(keysym)) { -- 1.5.3.2