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