summaryrefslogtreecommitdiffstats
path: root/xrdp/lang.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2017-03-12 09:35:00 -0700
committerjsorg71 <jay.sorg@gmail.com>2017-03-14 00:21:48 -0700
commit6ed4c969f4d646a7751fe2da29ba94eddd3d6477 (patch)
tree951c72b16a0be1a1cc8c77e6d2ecaa1f25f2bcd6 /xrdp/lang.c
parent8be83473b72c926d3c056fd8a81965dbce0a0e5e (diff)
downloadxrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.tar.gz
xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.zip
Eliminate APP_CC and DEFAULT_CC
Diffstat (limited to 'xrdp/lang.c')
-rw-r--r--xrdp/lang.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xrdp/lang.c b/xrdp/lang.c
index 037bb438..ff242599 100644
--- a/xrdp/lang.c
+++ b/xrdp/lang.c
@@ -64,7 +64,7 @@ static struct codepair g_map[] =
};
/*****************************************************************************/
-struct xrdp_key_info *APP_CC
+struct xrdp_key_info *
get_key_info_from_scan_code(int device_flags, int scan_code, int *keys,
int caps_lock, int num_lock, int scroll_lock,
struct xrdp_keymap *keymap)
@@ -131,7 +131,7 @@ get_key_info_from_scan_code(int device_flags, int scan_code, int *keys,
}
/*****************************************************************************/
-int APP_CC
+int
get_keysym_from_scan_code(int device_flags, int scan_code, int *keys,
int caps_lock, int num_lock, int scroll_lock,
struct xrdp_keymap *keymap)
@@ -151,7 +151,7 @@ get_keysym_from_scan_code(int device_flags, int scan_code, int *keys,
}
/*****************************************************************************/
-twchar APP_CC
+twchar
get_char_from_scan_code(int device_flags, int scan_code, int *keys,
int caps_lock, int num_lock, int scroll_lock,
struct xrdp_keymap *keymap)
@@ -171,7 +171,7 @@ get_char_from_scan_code(int device_flags, int scan_code, int *keys,
}
/*****************************************************************************/
-static int APP_CC
+static int
km_read_section(int fd, const char *section_name, struct xrdp_key_info *keymap)
{
struct list *names;
@@ -226,7 +226,7 @@ km_read_section(int fd, const char *section_name, struct xrdp_key_info *keymap)
}
/*****************************************************************************/
-int APP_CC
+int
get_keymaps(int keylayout, struct xrdp_keymap *keymap)
{
int fd;