xref: /openbmc/u-boot/arch/nios2/include/asm/string.h (revision 9dec5270)
1 /*
2  * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
3  * Scott McNutt <smcnutt@psyent.com>
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
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_ */
32