summaryrefslogtreecommitdiff
path: root/keymaps.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-10-01 16:12:16 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-01 16:12:16 -0500
commitc227f0995e1722a1abccc28cadf0664266bd8043 (patch)
tree39e92c2f818e3e8144978740b914731613af0e40 /keymaps.h
parent99a0949b720a0936da2052cb9a46db04ffc6db29 (diff)
downloadqemu-c227f0995e1722a1abccc28cadf0664266bd8043.tar.gz
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list. The naming convention is goofy and it causes a massive merge problem. Something like this _must_ be presented on the list first so people can provide input and cope with it. This reverts commit 99a0949b720a0936da2052cb9a46db04ffc6db29. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'keymaps.h')
-rw-r--r--keymaps.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/keymaps.h b/keymaps.h
index 1283062741..17f6efdb6e 100644
--- a/keymaps.h
+++ b/keymaps.h
@@ -30,7 +30,7 @@
typedef struct {
const char* name;
int keysym;
-} a_name2keysym;
+} name2keysym_t;
struct key_range {
int start;
@@ -49,10 +49,10 @@ typedef struct {
int extra_count;
struct key_range *keypad_range;
struct key_range *numlock_range;
-} a_kbd_layout;
+} kbd_layout_t;
-void *init_keyboard_layout(const a_name2keysym *table, const char *language);
+void *init_keyboard_layout(const name2keysym_t *table, const char *language);
int keysym2scancode(void *kbd_layout, int keysym);
int keycode_is_keypad(void *kbd_layout, int keycode);
int keysym_is_numlock(void *kbd_layout, int keysym);