From 85b0db24804e6a8a66f557ac8917596db5fc5d9f Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 21 Jul 2025 16:53:37 +0200 Subject: refactor: Better types --- log.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'log.c') diff --git a/log.c b/log.c index 76bee11..d95299d 100644 --- a/log.c +++ b/log.c @@ -2,7 +2,9 @@ #include -void info(Logger l, const char *name, const char *str, ...) { +#include "types.h" + +void info(Logger l, const byte *name, const byte *str, ...) { if (l.level >= INFO) { printf("[%s] ", name); printf(str); -- cgit v1.3