mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
string.h: add missing prototypes
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
parent
482f4691a3
commit
5afe73f576
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue