diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-05-10 15:43:31 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-05-10 15:43:31 -0400 |
commit | 3929ddedca049ac6f9dcbe88f85233b6ec1a415a (patch) | |
tree | 94d792e509ea480b26ef57e8f35b56015931a0a9 /src/dstring.c | |
parent | 8368e139c176dcde3b125f4a180ff868729b1862 (diff) | |
download | bfs-3929ddedca049ac6f9dcbe88f85233b6ec1a415a.tar.xz |
config: s/BFS_FLEX_SIZEOF/flex_sizeof/
Diffstat (limited to 'src/dstring.c')
-rw-r--r-- | src/dstring.c | 2 |
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. */ |