1 /* SPDX-License-Identifier: GPL-2.0 */ 2 3 #ifndef __ABI_CSKY_STRING_H 4 #define __ABI_CSKY_STRING_H 5 6 #define __HAVE_ARCH_MEMCMP 7 extern int memcmp(const void *, const void *, __kernel_size_t); 8 9 #define __HAVE_ARCH_MEMCPY 10 extern void *memcpy(void *, const void *, __kernel_size_t); 11 12 #define __HAVE_ARCH_MEMMOVE 13 extern void *memmove(void *, const void *, __kernel_size_t); 14 15 #define __HAVE_ARCH_MEMSET 16 extern void *memset(void *, int, __kernel_size_t); 17 18 #define __HAVE_ARCH_STRCMP 19 extern int strcmp(const char *, const char *); 20 21 #define __HAVE_ARCH_STRCPY 22 extern char *strcpy(char *, const char *); 23 24 #define __HAVE_ARCH_STRLEN 25 extern __kernel_size_t strlen(const char *); 26 27 #endif /* __ABI_CSKY_STRING_H */ 28