Paul Mundt | a23ba43 | 2007-11-28 20:19:38 +0900 | [diff] [blame] | 1 | #ifndef __ASM_SH_STRING_64_H |
| 2 | #define __ASM_SH_STRING_64_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | |
Paul Mundt | 4466b20 | 2008-12-12 16:34:44 +0900 | [diff] [blame] | 4 | #ifdef __KERNEL__ |
| 5 | |
| 6 | #define __HAVE_ARCH_MEMSET |
| 7 | extern void *memset(void *__s, int __c, size_t __count); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
| 9 | #define __HAVE_ARCH_MEMCPY |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | extern void *memcpy(void *dest, const void *src, size_t count); |
| 11 | |
Paul Mundt | 4466b20 | 2008-12-12 16:34:44 +0900 | [diff] [blame] | 12 | #define __HAVE_ARCH_STRLEN |
| 13 | extern size_t strlen(const char *); |
| 14 | |
| 15 | #define __HAVE_ARCH_STRCPY |
| 16 | extern char *strcpy(char *__dest, const char *__src); |
| 17 | |
| 18 | #endif /* __KERNEL__ */ |
| 19 | |
Paul Mundt | a23ba43 | 2007-11-28 20:19:38 +0900 | [diff] [blame] | 20 | #endif /* __ASM_SH_STRING_64_H */ |