diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-03-13 22:43:45 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-03-13 22:43:45 +0000 |
commit | 33dfbbeaec4a49e110f51f5d088015f1a8fb9075 (patch) | |
tree | 7f2e2359d05b63b1b0b59b61ae3fc154050fc486 /src/libstddjb/cdb_make.c | |
parent | e450f6efc39e55e32264d2daded6c757af0f7527 (diff) | |
download | skalibs-33dfbbeaec4a49e110f51f5d088015f1a8fb9075.tar.xz |
More superflous headers cleanup and tiny fixes
Diffstat (limited to 'src/libstddjb/cdb_make.c')
-rw-r--r-- | src/libstddjb/cdb_make.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstddjb/cdb_make.c b/src/libstddjb/cdb_make.c index ce5e81e..930d69e 100644 --- a/src/libstddjb/cdb_make.c +++ b/src/libstddjb/cdb_make.c @@ -5,9 +5,7 @@ #include <errno.h> #include <skalibs/uint32.h> #include <skalibs/diuint32.h> -#include <skalibs/allreadwrite.h> #include <skalibs/buffer.h> -#include <skalibs/djbunix.h> #include <skalibs/genalloc.h> #include <skalibs/cdb.h> #include <skalibs/cdb_make.h> @@ -16,7 +14,7 @@ int cdb_make_start (struct cdb_make *c, int fd) { c->hplist = genalloc_zero ; c->pos = 2048 ; - buffer_init(&c->b, &fd_writev, fd, c->buf, BUFFER_OUTSIZE) ; + buffer_init(&c->b, &buffer_write, fd, c->buf, BUFFER_OUTSIZE) ; if (lseek(fd, c->pos, SEEK_SET) < 0) return -1 ; return 0 ; } |