From 00c9cb1b22cc17c4db573e0e613a5f116ff0092e Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 25 Jan 2017 15:52:18 +0000 Subject: More work on the types. This commit builds but has errors. Rework src/headers entirely: build skalibs/types.h Convert skalibs/fmtscan.h types. Propagate changes until it builds. There are a lot of incompatible pointer issues remaining, those will be fixed with the buffer overhaul. --- src/libstddjb/str_fmt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libstddjb/str_fmt.c') diff --git a/src/libstddjb/str_fmt.c b/src/libstddjb/str_fmt.c index 1c14c70..220119a 100644 --- a/src/libstddjb/str_fmt.c +++ b/src/libstddjb/str_fmt.c @@ -1,9 +1,9 @@ /* ISC license. */ -#include +#include #include -unsigned int str_fmt (register char *d, char const *s) +size_t str_fmt (char *d, char const *s) { - return strn_fmt(d, s, str_len(s)) ; + return strn_fmt(d, s, strlen(s)) ; } -- cgit v1.2.3