aboutsummaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-07 20:20:34 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-07 20:20:34 +0000
commitd905a1ac783115d81e8e3a07d3f197756cb9c5f5 (patch)
tree0058e653d90a3d2a961fca16f7c7afd57cd63715 /include/platform.h
parente6fb0801d1ff2a45c5055857fd35a97c67dddbd8 (diff)
downloadbusybox-w32-d905a1ac783115d81e8e3a07d3f197756cb9c5f5.tar.gz
busybox-w32-d905a1ac783115d81e8e3a07d3f197756cb9c5f5.tar.bz2
busybox-w32-d905a1ac783115d81e8e3a07d3f197756cb9c5f5.zip
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. git-svn-id: svn://busybox.net/trunk/busybox@15023 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/platform.h b/include/platform.h
index a8858a74c..257ddb260 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -67,11 +67,6 @@
67# endif 67# endif
68#endif 68#endif
69 69
70#ifdef __GNUC__
71#define strlen(x) bb_strlen(x)
72extern size_t bb_strlen(const char *string);
73#endif
74
75/* ---- Endian Detection ------------------------------------ */ 70/* ---- Endian Detection ------------------------------------ */
76#ifndef __APPLE__ 71#ifndef __APPLE__
77# include <byteswap.h> 72# include <byteswap.h>