summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2024-08-03 23:40:31 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2024-08-23 20:37:37 +0100
commit83da606072ce272eb053d4e1497d77e647cfecae (patch)
tree71d0110881ff8685184c5f4ab720cc8d49c24678 /test
parentacbd30e0427b16f885f96aed59881ec04eff25bc (diff)
Revise syntax macros and add a ton of branch hints
My new programming style is branch hints. All non-confusing branches must be hinted when I can be bothered. It's faster, sometimes, maybe. Also, start trying to use more signed sizes in at least some of the places where it makes sense. Unsigned sizes are surprisingly error-prone!
Diffstat (limited to 'test')
-rw-r--r--test/kv.test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/kv.test.c b/test/kv.test.c
index 7f82b8a..1bd1784 100644
--- a/test/kv.test.c
+++ b/test/kv.test.c
@@ -9,7 +9,7 @@
#include "../src/kv.c"
#include "../src/intdefs.h"
-#include "../src/noreturn.h"
+#include "../src/langext.h"
static noreturn die(const struct kv_parser *kvp) {
fprintf(stderr, "parse error: %d:%d: %s\n", kvp->line, kvp->col,