projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
482f469
)
string.h: add missing prototypes
author
Jeroen Hofstee
<jeroen@myspectrum.nl>
Wed, 8 Oct 2014 20:57:49 +0000
(22:57 +0200)
committer
Tom Rini
<trini@ti.com>
Sat, 25 Oct 2014 11:27:37 +0000
(07:27 -0400)
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
include/linux/string.h
patch
|
blob
|
history
diff --git
a/include/linux/string.h
b/include/linux/string.h
index 8e44855712c33be990b02ff0db8f70f67110d08d..96348d617fca34c4abfbf00759a84b8178d8aae9 100644
(file)
--- 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