From 3039d62a487099ad8c4810d5f52ad608b02e5726 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 7 Sep 2020 19:38:47 +1000 Subject: registry: mark the rxkb_log function as attribute printf Signed-off-by: Peter Hutterer --- src/registry.c | 1 + 1 file changed, 1 insertion(+) 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, ...) -- cgit v1.2.1