xref: /openbmc/u-boot/arch/powerpc/include/asm/string.h (revision 23ff8633)
1 #ifndef _PPC_STRING_H_
2 #define _PPC_STRING_H_
3 
4 #define __HAVE_ARCH_STRCPY
5 #define __HAVE_ARCH_STRNCPY
6 #define __HAVE_ARCH_STRLEN
7 #define __HAVE_ARCH_STRCMP
8 #define __HAVE_ARCH_STRCAT
9 #define __HAVE_ARCH_MEMSET
10 #define __HAVE_ARCH_BCOPY
11 #define __HAVE_ARCH_MEMCPY
12 #define __HAVE_ARCH_MEMMOVE
13 #define __HAVE_ARCH_MEMCMP
14 #define __HAVE_ARCH_MEMCHR
15 
16 extern int strcasecmp(const char *, const char *);
17 extern int strncasecmp(const char *, const char *, __kernel_size_t);
18 extern char * strcpy(char *,const char *);
19 extern char * strncpy(char *,const char *, __kernel_size_t);
20 extern __kernel_size_t strlen(const char *);
21 extern int strcmp(const char *,const char *);
22 extern char * strcat(char *, const char *);
23 extern void * memset(void *,int,__kernel_size_t);
24 extern void * memcpy(void *,const void *,__kernel_size_t);
25 extern void * memmove(void *,const void *,__kernel_size_t);
26 extern int memcmp(const void *,const void *,__kernel_size_t);
27 extern void * memchr(const void *,int,__kernel_size_t);
28 
29 #endif
30