xref: /openbmc/u-boot/arch/nios2/include/asm/string.h (revision 12308b12)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
4  * Scott McNutt <smcnutt@psyent.com>
5  */
6 #ifndef __ASM_NIOS2_STRING_H_
7 #define __ASM_NIOS2_STRING_H_
8 
9 #undef __HAVE_ARCH_STRRCHR
10 extern char * strrchr(const char * s, int c);
11 
12 #undef __HAVE_ARCH_STRCHR
13 extern char * strchr(const char * s, int c);
14 
15 #undef __HAVE_ARCH_MEMCPY
16 extern void * memcpy(void *, const void *, __kernel_size_t);
17 
18 #undef __HAVE_ARCH_MEMMOVE
19 extern void * memmove(void *, const void *, __kernel_size_t);
20 
21 #undef __HAVE_ARCH_MEMCHR
22 extern void * memchr(const void *, int, __kernel_size_t);
23 
24 #undef __HAVE_ARCH_MEMSET
25 extern void * memset(void *, int, __kernel_size_t);
26 
27 #undef __HAVE_ARCH_MEMZERO
28 extern void memzero(void *ptr, __kernel_size_t n);
29 
30 #endif /* __ASM_NIOS2_STRING_H_ */
31