aboutsummaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 16:53:37 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 16:53:37 +0200
commit85b0db24804e6a8a66f557ac8917596db5fc5d9f (patch)
tree22cdfbf325fe7ecadc744a668f28c46b03e0f008 /log.c
parent2d225abf3b482fa2bf8cf9a56b8caefcc5724447 (diff)
refactor: Better types
Diffstat (limited to 'log.c')
-rw-r--r--log.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/log.c b/log.c
index 76bee11..d95299d 100644
--- a/log.c
+++ b/log.c
@@ -2,7 +2,9 @@
#include <stdio.h>
-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);