opkg: attached patch fixes build failures with gcc 4.3.2. patch by Enrico Scholz...
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Dec 2008 05:28:08 +0000 (05:28 +0000)
committerticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Dec 2008 05:28:08 +0000 (05:28 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@151 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libbb/libbb.h
libbb/xfuncs.c

index 0385d55..860dacd 100644 (file)
@@ -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__ */
index ee90e60..57c6980 100644 (file)
@@ -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: