diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2020-09-07 19:38:47 +1000 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-09-07 22:01:57 +0300 |
commit | 3039d62a487099ad8c4810d5f52ad608b02e5726 (patch) | |
tree | d707af2f86914a81aab011b8dcd5e057e2d7c6c5 | |
parent | db985753277c705b805e9d20e2c6b1245a2781b1 (diff) | |
download | xorg-lib-libxkbcommon-3039d62a487099ad8c4810d5f52ad608b02e5726.tar.gz |
registry: mark the rxkb_log function as attribute printf
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/registry.c | 1 |
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, ...) |