r4754 - trunk/src/target/opkg/libbb

mickey at docs.openmoko.org mickey at docs.openmoko.org
Thu Nov 6 00:06:48 CET 2008


Author: mickey
Date: 2008-11-06 00:06:47 +0100 (Thu, 06 Nov 2008)
New Revision: 4754

Modified:
   trunk/src/target/opkg/libbb/libbb.h
   trunk/src/target/opkg/libbb/xfuncs.c
Log:
opkg: attached patch fixes build failures with gcc 4.3.2. patch by Enrico Scholz -- thanks!


Modified: trunk/src/target/opkg/libbb/libbb.h
===================================================================
--- trunk/src/target/opkg/libbb/libbb.h	2008-11-05 17:59:56 UTC (rev 4753)
+++ trunk/src/target/opkg/libbb/libbb.h	2008-11-05 23:06:47 UTC (rev 4754)
@@ -345,8 +345,4 @@
 #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__ */

Modified: trunk/src/target/opkg/libbb/xfuncs.c
===================================================================
--- trunk/src/target/opkg/libbb/xfuncs.c	2008-11-05 17:59:56 UTC (rev 4753)
+++ trunk/src/target/opkg/libbb/xfuncs.c	2008-11-05 23:06:47 UTC (rev 4754)
@@ -85,13 +85,6 @@
 	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:




More information about the commitlog mailing list