summaryrefslogtreecommitdiff
path: root/src/libstddjb/buffer_putsnoflush.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/buffer_putsnoflush.c')
-rw-r--r--src/libstddjb/buffer_putsnoflush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstddjb/buffer_putsnoflush.c b/src/libstddjb/buffer_putsnoflush.c
index ad6b372..06d12d1 100644
--- a/src/libstddjb/buffer_putsnoflush.c
+++ b/src/libstddjb/buffer_putsnoflush.c
@@ -1,9 +1,9 @@
/* ISC license. */
-#include <skalibs/bytestr.h>
+#include <string.h>
#include <skalibs/buffer.h>
-int buffer_putsnoflush (buffer *b, char const *s)
+size_t buffer_putsnoflush (buffer *b, char const *s)
{
- return buffer_putnoflush(b, s, str_len(s)) ;
+ return buffer_putnoflush(b, s, strlen(s)) ;
}