diff options
Diffstat (limited to 'src/libstddjb/str_len.c')
-rw-r--r-- | src/libstddjb/str_len.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/libstddjb/str_len.c b/src/libstddjb/str_len.c deleted file mode 100644 index 75bd1f2..0000000 --- a/src/libstddjb/str_len.c +++ /dev/null @@ -1,16 +0,0 @@ -/* ISC license. */ - -#include <skalibs/config.h> - -#ifdef SKALIBS_FLAG_REPLACE_LIBC - -#include <skalibs/bytestr.h> - -unsigned int str_len (char const *s) -{ - register unsigned int len = 0 ; - while (*s++) len++ ; - return len ; -} - -#endif |