From f3fcbb44589fe6e94e79b44dac261610bfae4f1f Mon Sep 17 00:00:00 2001 From: andersen Date: Sat, 13 Apr 2002 13:02:03 +0000 Subject: Stupid gcc always includes its own builtin strlen()... git-svn-id: svn://busybox.net/trunk/busybox@4608 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/xfuncs.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libbb') diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 57c698079..acd4d6985 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.2.3-55-g6feb