diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:28:08 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:28:08 (EST) |
commit | 03d647cdefbea26f5fb29bd9cf074fc43b6b8bda (patch) | |
tree | 29b16f4bd6608a0722d3d82bffd5c253e4464877 | |
parent | 699e58a43daf7f0f85440879f225c12eb43c878c (diff) |
opkg: attached patch fixes build failures with gcc 4.3.2. patch by Enrico Scholz -- thanks!
git-svn-id: http://opkg.googlecode.com/svn/trunk@151 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r-- | libbb/libbb.h | 4 | ||||
-rw-r--r-- | libbb/xfuncs.c | 7 |
2 files changed, 0 insertions, 11 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h index 0385d55..860dacd 100644 --- a/libbb/libbb.h +++ b/libbb/libbb.h @@ -345,8 +345,4 @@ extern const char * const can_not_create_raw_socket; #define fork vfork #endif -/* Stupid gcc always includes its own builtin strlen()... */ -extern size_t xstrlen(const char *string); -#define strlen(x) xstrlen(x) - #endif /* __LIBBB_H__ */ diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index ee90e60..57c6980 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c @@ -85,13 +85,6 @@ FILE *xfopen(const char *path, const char *mode) return fp; } -/* Stupid gcc always includes its own builtin strlen()... */ -#undef strlen -size_t xstrlen(const char *string) -{ - return(strlen(string)); -} - /* END CODE */ /* Local Variables: |