diff options
author | Ran Benita <ran234@gmail.com> | 2013-02-17 22:50:12 +0200 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2013-03-18 22:20:02 +0000 |
commit | 10c351f5163ff8ce3be232207bf9c0f68fbbb47d (patch) | |
tree | f686d9720cd892d48229bab583c2ae0c29154850 /test | |
parent | 089c3a1811b727b5c778766bc1e8ad9e5d4caf5a (diff) |
test/interactive: change variable name for 'xkb' to 'keymap'
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/interactive.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/interactive.c b/test/interactive.c index 2d655c6..789f932 100644 --- a/test/interactive.c +++ b/test/interactive.c @@ -85,7 +85,8 @@ is_keyboard(int fd) } static int -keyboard_new(struct dirent *ent, struct xkb_keymap *xkb, struct keyboard **out) +keyboard_new(struct dirent *ent, struct xkb_keymap *keymap, + struct keyboard **out) { int ret; char *path; @@ -109,7 +110,7 @@ keyboard_new(struct dirent *ent, struct xkb_keymap *xkb, struct keyboard **out) goto err_fd; } - state = xkb_state_new(xkb); + state = xkb_state_new(keymap); if (!state) { fprintf(stderr, "Couldn't create xkb state for %s\n", path); ret = -EFAULT; |