summaryrefslogtreecommitdiff
path: root/src/libstddjb/buffer_getall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/buffer_getall.c')
-rw-r--r--src/libstddjb/buffer_getall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/buffer_getall.c b/src/libstddjb/buffer_getall.c
index 34db9df..4f1490b 100644
--- a/src/libstddjb/buffer_getall.c
+++ b/src/libstddjb/buffer_getall.c
@@ -4,7 +4,7 @@
#include <skalibs/allreadwrite.h>
#include <skalibs/buffer.h>
-int buffer_getall (buffer_ref b, char *buf, unsigned int len, unsigned int *w)
+int buffer_getall (buffer *b, char *buf, unsigned int len, unsigned int *w)
{
if (*w > len) return (errno = EINVAL, -1) ;
*w += buffer_getnofill(b, buf + *w, len - *w) ;