removed #undef strlen, use builtins and prototuped strlen from xfunc file (only\!)
author"Vladimir N. Oleynik" <dzo@simtreas.ru>
Thu, 16 Feb 2006 14:38:41 +0000 (14:38 -0000)
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>
Thu, 16 Feb 2006 14:38:41 +0000 (14:38 -0000)
libbb/xfuncs.c

index f85d3bb2631fb7074ccddc993690cbe18f34abb2..134ea77a04e804f7322febf8e4862a40ebfdad30 100644 (file)
@@ -180,7 +180,6 @@ extern void bb_xfflush_stdout(void)
 
 #ifdef L_strlen
 /* Stupid gcc always includes its own builtin strlen()... */
-#undef strlen
 size_t bb_strlen(const char *string)
 {
            return(strlen(string));