From db7d5fca5f6a98a68a16bbea7cd71593791c43dc Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 13 Apr 2002 13:02:03 +0000 Subject: Stupid gcc always includes its own builtin strlen()... --- libbb/xfuncs.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libbb') diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 57c6980..acd4d69 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c @@ -85,6 +85,12 @@ FILE *xfopen(const char *path, const char *mode) return fp; } +/* Stupid gcc always includes its own builtin strlen()... */ +size_t xstrlen(const char *string) +{ + return(strlen(string)); +} + /* END CODE */ /* Local Variables: -- cgit v1.1