wdenk | 5c952cf | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2004, Psyent Corporation <www.psyent.com> |
| 3 | * Scott McNutt <smcnutt@psyent.com> |
| 4 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
wdenk | 5c952cf | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 6 | */ |
| 7 | #ifndef __ASM_NIOS2_STRING_H_ |
| 8 | #define __ASM_NIOS2_STRING_H_ |
| 9 | |
| 10 | #undef __HAVE_ARCH_STRRCHR |
| 11 | extern char * strrchr(const char * s, int c); |
| 12 | |
| 13 | #undef __HAVE_ARCH_STRCHR |
| 14 | extern char * strchr(const char * s, int c); |
| 15 | |
| 16 | #undef __HAVE_ARCH_MEMCPY |
| 17 | extern void * memcpy(void *, const void *, __kernel_size_t); |
| 18 | |
| 19 | #undef __HAVE_ARCH_MEMMOVE |
| 20 | extern void * memmove(void *, const void *, __kernel_size_t); |
| 21 | |
| 22 | #undef __HAVE_ARCH_MEMCHR |
| 23 | extern void * memchr(const void *, int, __kernel_size_t); |
| 24 | |
| 25 | #undef __HAVE_ARCH_MEMSET |
| 26 | extern void * memset(void *, int, __kernel_size_t); |
| 27 | |
| 28 | #undef __HAVE_ARCH_MEMZERO |
| 29 | extern void memzero(void *ptr, __kernel_size_t n); |
| 30 | |
| 31 | #endif /* __ASM_NIOS2_STRING_H_ */ |