b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef __ASM_SH_STRING_64_H |
| 3 | #define __ASM_SH_STRING_64_H |
| 4 | |
| 5 | #ifdef __KERNEL__ |
| 6 | |
| 7 | #define __HAVE_ARCH_MEMSET |
| 8 | extern void *memset(void *__s, int __c, size_t __count); |
| 9 | |
| 10 | #define __HAVE_ARCH_MEMCPY |
| 11 | extern void *memcpy(void *dest, const void *src, size_t count); |
| 12 | |
| 13 | #define __HAVE_ARCH_STRLEN |
| 14 | extern size_t strlen(const char *); |
| 15 | |
| 16 | #define __HAVE_ARCH_STRCPY |
| 17 | extern char *strcpy(char *__dest, const char *__src); |
| 18 | |
| 19 | #endif /* __KERNEL__ */ |
| 20 | |
| 21 | #endif /* __ASM_SH_STRING_64_H */ |