summaryrefslogtreecommitdiffstats
path: root/ui/trace-events
diff options
context:
space:
mode:
authorGerd Hoffmann2018-02-22 08:05:10 +0100
committerGerd Hoffmann2018-02-22 10:35:17 +0100
commitd713e3fd4c1da510a31313e1d3cc51c89b8036f3 (patch)
tree608d9a5e64bc084674ea4fa4b643cc6ebe066e14 /ui/trace-events
parentkeymap: make struct kbd_layout_t private to ui/keymaps.c (diff)
downloadqemu-d713e3fd4c1da510a31313e1d3cc51c89b8036f3.tar.gz
qemu-d713e3fd4c1da510a31313e1d3cc51c89b8036f3.tar.xz
qemu-d713e3fd4c1da510a31313e1d3cc51c89b8036f3.zip
keymap: use glib hash for kbd_layout_t
Drop home-grown lookup code, which is a strange mix of a lookup table and a list. Use standard glib hash instead. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-id: 20180222070513.8740-3-kraxel@redhat.com
Diffstat (limited to 'ui/trace-events')
-rw-r--r--ui/trace-events2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/trace-events b/ui/trace-events
index 34229e6747..861b68a305 100644
--- a/ui/trace-events
+++ b/ui/trace-events
@@ -78,7 +78,7 @@ qemu_spice_create_update(uint32_t left, uint32_t right, uint32_t top, uint32_t b
# ui/keymaps.c
keymap_parse(const char *file) "file %s"
-keymap_add(const char *type, int sym, int code, const char *line) "%-6s sym=0x%04x code=0x%04x (line: %s)"
+keymap_add(int sym, int code, const char *line) "sym=0x%04x code=0x%04x (line: %s)"
keymap_unmapped(int sym) "sym=0x%04x"
# ui/x_keymap.c