summaryrefslogtreecommitdiffstats
path: root/src/dstring.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-05-10 15:43:31 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-05-10 15:43:31 -0400
commit3929ddedca049ac6f9dcbe88f85233b6ec1a415a (patch)
tree94d792e509ea480b26ef57e8f35b56015931a0a9 /src/dstring.c
parent8368e139c176dcde3b125f4a180ff868729b1862 (diff)
downloadbfs-3929ddedca049ac6f9dcbe88f85233b6ec1a415a.tar.xz
config: s/BFS_FLEX_SIZEOF/flex_sizeof/
Diffstat (limited to 'src/dstring.c')
-rw-r--r--src/dstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dstring.c b/src/dstring.c
index 9112e54..05efb10 100644
--- a/src/dstring.c
+++ b/src/dstring.c
@@ -24,7 +24,7 @@ static struct dstring *dstrheader(const char *dstr) {
/** Get the correct size for a dstring with the given capacity. */
static size_t dstrsize(size_t capacity) {
- return BFS_FLEX_SIZEOF(struct dstring, data, capacity + 1);
+ return flex_sizeof(struct dstring, data, capacity + 1);
}
/** Allocate a dstring with the given contents. */