summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-09-07 19:38:47 +1000
committerRan Benita <ran@unusedvar.com>2020-09-07 22:01:57 +0300
commit3039d62a487099ad8c4810d5f52ad608b02e5726 (patch)
treed707af2f86914a81aab011b8dcd5e057e2d7c6c5 /src
parentdb985753277c705b805e9d20e2c6b1245a2781b1 (diff)
downloadxorg-lib-libxkbcommon-3039d62a487099ad8c4810d5f52ad608b02e5726.tar.gz
registry: mark the rxkb_log function as attribute printf
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/registry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/registry.c b/src/registry.c
index d3d95f5..dcaaa1b 100644
--- a/src/registry.c
+++ b/src/registry.c
@@ -133,6 +133,7 @@ static bool
parse(struct rxkb_context *ctx, const char *path,
enum rxkb_popularity popularity);
+ATTR_PRINTF(3, 4)
static void
rxkb_log(struct rxkb_context *ctx, enum rxkb_log_level level,
const char *fmt, ...)