aboutsummaryrefslogtreecommitdiff
path: root/test/log.c
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2025-01-14 19:00:26 +0100
committerFederico Angelilli <code@fedang.net>2025-01-14 19:00:40 +0100
commit97e75f4ed2d6a3d9ad8f87547e14f36cbdf72826 (patch)
tree3f8849dc279fa9ba2d2f4edc1ec722eba68bcfa5 /test/log.c
parentbfb94e6a21f03327fe117d6cb6750fd775f30eb7 (diff)
Add file locking to any_log
Diffstat (limited to 'test/log.c')
-rw-r--r--test/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/log.c b/test/log.c
index 53205d8..b6e2560 100644
--- a/test/log.c
+++ b/test/log.c
@@ -1,5 +1,6 @@
#include <stdbool.h>
+#define ANY_LOG_LOCKING
#define ANY_LOG_IMPLEMENT
#define ANY_LOG_MODULE "test"
@@ -22,6 +23,7 @@
#define ANY_LOG_VALUE_AFTER(level, module, func, message) "}\n"
#include "any_log.h"
+
struct pair {
const char *s1, *s2;
};