Commit 3039d62a487099ad8c4810d5f52ad608b02e5726

Peter Hutterer 2020-09-07T19:38:47

registry: mark the rxkb_log function as attribute printf Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

1
2
3
4
5
6
7
8
9
10
11
12
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, ...)