From fdffefb8032922ce7ffe4c00816072a8ff2148fc Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 17 Feb 2017 22:30:53 +0000 Subject: More types changes New disize Add size_t to the autotypes list Delete redundant and replace-libc files dev_t/ino_t pass Big size_t pass More things missing, still not operational yet --- src/libstddjb/buffer_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libstddjb/buffer_init.c') diff --git a/src/libstddjb/buffer_init.c b/src/libstddjb/buffer_init.c index fac648a..27fd4e5 100644 --- a/src/libstddjb/buffer_init.c +++ b/src/libstddjb/buffer_init.c @@ -1,11 +1,12 @@ /* ISC license. */ +#include #include #include #include #include -int buffer_init (buffer *b, iovfunc_t_ref op, int fd, char *s, unsigned int len) +int buffer_init (buffer *b, iovfunc_t_ref op, int fd, char *s, size_t len) { if (!cbuffer_init(&b->c, s, len)) return 0 ; b->fd = fd ; -- cgit v1.3.1