From a3896511152cd5dcd64d2eb4aebcce65b29c6c0b Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 7 May 2006 20:20:34 +0000 Subject: Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytes as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code. --- include/platform.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include') diff --git a/include/platform.h b/include/platform.h index a8858a7..257ddb2 100644 --- a/include/platform.h +++ b/include/platform.h @@ -67,11 +67,6 @@ # endif #endif -#ifdef __GNUC__ -#define strlen(x) bb_strlen(x) -extern size_t bb_strlen(const char *string); -#endif - /* ---- Endian Detection ------------------------------------ */ #ifndef __APPLE__ # include -- cgit v1.1