tools: constify the prefix in tools_print_keycode_state

master
Peter Hutterer 2024-02-14 11:26:10 +10:00
parent 51e084728a
commit 883bac60d8
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ print_keys_modmaps(struct xkb_keymap *keymap) {
#endif #endif
void void
tools_print_keycode_state(char *prefix, tools_print_keycode_state(const char *prefix,
struct xkb_state *state, struct xkb_state *state,
struct xkb_compose_state *compose_state, struct xkb_compose_state *compose_state,
xkb_keycode_t keycode, xkb_keycode_t keycode,

View File

@ -61,7 +61,7 @@ print_keys_modmaps(struct xkb_keymap *keymap);
#endif #endif
void void
tools_print_keycode_state(char *prefix, tools_print_keycode_state(const char *prefix,
struct xkb_state *state, struct xkb_state *state,
struct xkb_compose_state *compose_state, struct xkb_compose_state *compose_state,
xkb_keycode_t keycode, xkb_keycode_t keycode,