From 9185c051ef8216ef855aaedb9a12fff028ba4394 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 4 Jun 2024 20:06:28 +0200 Subject: Require a semicolon after dafields() --- include/dynarr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dynarr.h b/include/dynarr.h index 23705c9..f346aae 100644 --- a/include/dynarr.h +++ b/include/dynarr.h @@ -23,11 +23,11 @@ T *buf; \ size_t len, cap; \ alloc_fn alloc; \ - void *ctx; + void *ctx #define dynarr(T) \ struct { \ - dafields(T) \ + dafields(T); \ } #define DAPUSH(da, x) \ -- cgit v1.2.3