aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/xfuncs.c6
1 files changed, 6 insertions, 0 deletions
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)
85 return fp; 85 return fp;
86} 86}
87 87
88/* Stupid gcc always includes its own builtin strlen()... */
89size_t xstrlen(const char *string)
90{
91 return(strlen(string));
92}
93
88/* END CODE */ 94/* END CODE */
89/* 95/*
90Local Variables: 96Local Variables: