aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-06-04 20:06:28 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-06-04 20:06:28 +0200
commit9185c051ef8216ef855aaedb9a12fff028ba4394 (patch)
tree67342c9a17f8a3312e546c9b7bfbd155cf978fdd
parente2eba7c3a81ebcc5751c9383f2766c6aae86366c (diff)
Require a semicolon after dafields()
-rw-r--r--include/dynarr.h4
1 files 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) \