1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
4 * Scott McNutt <smcnutt@psyent.com>
6 #ifndef __ASM_NIOS2_STRING_H_
7 #define __ASM_NIOS2_STRING_H_
9 #undef __HAVE_ARCH_STRRCHR
10 extern char * strrchr(const char * s, int c);
12 #undef __HAVE_ARCH_STRCHR
13 extern char * strchr(const char * s, int c);
15 #undef __HAVE_ARCH_MEMCPY
16 extern void * memcpy(void *, const void *, __kernel_size_t);
18 #undef __HAVE_ARCH_MEMMOVE
19 extern void * memmove(void *, const void *, __kernel_size_t);
21 #undef __HAVE_ARCH_MEMCHR
22 extern void * memchr(const void *, int, __kernel_size_t);
24 #undef __HAVE_ARCH_MEMSET
25 extern void * memset(void *, int, __kernel_size_t);
27 #undef __HAVE_ARCH_MEMZERO
28 extern void memzero(void *ptr, __kernel_size_t n);
30 #endif /* __ASM_NIOS2_STRING_H_ */