[PATCH] Fix some exported names

Juergen Beisert jbe at pengutronix.de
Thu Dec 10 10:27:28 EST 2009


Unsure if this is the/a correct fix, but without it, my build fails.

Signed-off-by: Juergen Beisert <jbe at pengutronix.de>

---
 lib/string.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: u-boot-2.0.0-rc10/lib/string.c
===================================================================
--- u-boot-2.0.0-rc10.orig/lib/string.c
+++ u-boot-2.0.0-rc10/lib/string.c
@@ -186,7 +186,7 @@ char * _strrchr(const char * s, int c)
        return NULL;
 }
 #endif
-EXPORT_SYMBOL(strrchr);
+EXPORT_SYMBOL(_strrchr);
 
 #ifndef __HAVE_ARCH_STRLEN
 /**
@@ -539,7 +539,7 @@ char * _strstr(const char * s1,const cha
 	return NULL;
 }
 #endif
-EXPORT_SYMBOL(strstr);
+EXPORT_SYMBOL(_strstr);
 
 #ifndef __HAVE_ARCH_MEMCHR
 /**

 
-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |




More information about the u-boot-v2 mailing list