wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 1 | #ifndef __ASM_I386_STRING_H |
| 2 | #define __ASM_I386_STRING_H |
| 3 | |
| 4 | /* |
| 5 | * We don't do inline string functions, since the |
| 6 | * optimised inline asm versions are not small. |
| 7 | */ |
| 8 | |
wdenk | 67ff36c | 2002-11-19 23:01:07 +0000 | [diff] [blame] | 9 | #undef __HAVE_ARCH_STRRCHR |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 10 | extern char * strrchr(const char * s, int c); |
| 11 | |
wdenk | 67ff36c | 2002-11-19 23:01:07 +0000 | [diff] [blame] | 12 | #undef __HAVE_ARCH_STRCHR |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 13 | extern char * strchr(const char * s, int c); |
| 14 | |
wdenk | 67ff36c | 2002-11-19 23:01:07 +0000 | [diff] [blame] | 15 | #undef __HAVE_ARCH_MEMCPY |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 16 | extern void * memcpy(void *, const void *, __kernel_size_t); |
| 17 | |
wdenk | 67ff36c | 2002-11-19 23:01:07 +0000 | [diff] [blame] | 18 | #undef __HAVE_ARCH_MEMMOVE |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 19 | extern void * memmove(void *, const void *, __kernel_size_t); |
| 20 | |
wdenk | 67ff36c | 2002-11-19 23:01:07 +0000 | [diff] [blame] | 21 | #undef __HAVE_ARCH_MEMCHR |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 22 | extern void * memchr(const void *, int, __kernel_size_t); |
| 23 | |
wdenk | 67ff36c | 2002-11-19 23:01:07 +0000 | [diff] [blame] | 24 | #undef __HAVE_ARCH_MEMSET |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 25 | extern void * memset(void *, int, __kernel_size_t); |
| 26 | |
wdenk | 67ff36c | 2002-11-19 23:01:07 +0000 | [diff] [blame] | 27 | #undef __HAVE_ARCH_MEMZERO |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 28 | extern void memzero(void *ptr, __kernel_size_t n); |
| 29 | |
| 30 | #endif |