summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-10-08 22:57:49 +0200
committerTom Rini <trini@ti.com>2014-10-25 07:27:37 -0400
commit5afe73f57623896c052e6ce90291963e3c57634d (patch)
tree6c9f965c0add2156a27c77658cd885f1aa56ea29
parent482f4691a32d3e738b4948c98a893f7f629984ea (diff)
downloadu-boot-imx-5afe73f57623896c052e6ce90291963e3c57634d.zip
u-boot-imx-5afe73f57623896c052e6ce90291963e3c57634d.tar.gz
u-boot-imx-5afe73f57623896c052e6ce90291963e3c57634d.tar.bz2
string.h: add missing prototypes
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
-rw-r--r--include/linux/string.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/string.h b/include/linux/string.h
index 8e44855..96348d6 100644
--- a/include/linux/string.h
+++ b/include/linux/string.h
@@ -20,6 +20,10 @@ extern __kernel_size_t strspn(const char *,const char *);
*/
#include <asm/string.h>
+#ifndef __HAVE_ARCH_BCOPY
+char *bcopy(const char *src, char *dest, int count);
+#endif
+
#ifndef __HAVE_ARCH_STRCPY
extern char * strcpy(char *,const char *);
#endif
@@ -89,6 +93,9 @@ extern void * memchr(const void *,int,__kernel_size_t);
void *memchr_inv(const void *, int, size_t);
#endif
+unsigned long ustrtoul(const char *cp, char **endp, unsigned int base);
+unsigned long long ustrtoull(const char *cp, char **endp, unsigned int base);
+
#ifdef __cplusplus
}
#endif