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 0385d558816206d2f1a202f633aff7a5e1d87cf0..860dacdfb09dea61bb2b9456a8593b0f980a6336 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 ee90e60a6712ad86f9f109b0436c3446f3c07b74..57c698079fd72231279c6fe6e39717373fdc1835 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: