summaryrefslogtreecommitdiff
path: root/src/libstddjb/cbuffer_wpeek.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/cbuffer_wpeek.c')
-rw-r--r--src/libstddjb/cbuffer_wpeek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/cbuffer_wpeek.c b/src/libstddjb/cbuffer_wpeek.c
index d023294..cb3fc5e 100644
--- a/src/libstddjb/cbuffer_wpeek.c
+++ b/src/libstddjb/cbuffer_wpeek.c
@@ -3,7 +3,7 @@
#include <sys/uio.h>
#include <skalibs/cbuffer.h>
-void cbuffer_wpeek (cbuffer_t const *b, struct iovec *v)
+void cbuffer_wpeek (cbuffer const *b, struct iovec *v)
{
size_t last = (b->a - 1 + b->p) % b->a ;
v[0].iov_base = b->x + b->n ;