diff options
Diffstat (limited to 'src/libstddjb/bufalloc_init.c')
-rw-r--r-- | src/libstddjb/bufalloc_init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstddjb/bufalloc_init.c b/src/libstddjb/bufalloc_init.c index 6826193..0d97df9 100644 --- a/src/libstddjb/bufalloc_init.c +++ b/src/libstddjb/bufalloc_init.c @@ -1,11 +1,10 @@ /* ISC license. */ -#include <skalibs/stralloc.h> #include <skalibs/bufalloc.h> void bufalloc_init (bufalloc *ba, ssize_t (*op)(int, char const *, size_t), int fd) { - ba->x = stralloc_zero ; + ba->x.len = 0 ; ba->op = op ; ba->fd = fd ; ba->p = 0 ; |