diff options
author | Ran Benita <ran@unusedvar.com> | 2020-07-25 15:49:17 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-07-25 15:59:23 +0300 |
commit | 0066e387bcf5e77411ff5edb4896df69c3df72cd (patch) | |
tree | e01c30b7f00ef655b571145c70fe1e545689b200 /tools/tools-common.h | |
parent | d67c9cfffbc356bbc6b8685c117e0b63cdfc059b (diff) | |
download | xorg-lib-libxkbcommon-0066e387bcf5e77411ff5edb4896df69c3df72cd.tar.gz |
tools: make independent from src/
Signed-off-by: Ran Benita <ran@unusedvar.com>
Diffstat (limited to 'tools/tools-common.h')
-rw-r--r-- | tools/tools-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/tools-common.h b/tools/tools-common.h index bc6fa38..780720a 100644 --- a/tools/tools-common.h +++ b/tools/tools-common.h @@ -34,6 +34,8 @@ #include "xkbcommon/xkbcommon.h" #include "xkbcommon/xkbcommon-compose.h" +#define ARRAY_SIZE(arr) ((sizeof(arr) / sizeof(*(arr)))) + void tools_print_keycode_state(struct xkb_state *state, struct xkb_compose_state *compose_state, |