blob: 69f4921fef56f18b57e6bfb5732fd16dafa24f9d [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
wdenk5c952cf2004-10-10 21:27:30 +00002/*
3 * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
4 * Scott McNutt <smcnutt@psyent.com>
wdenk5c952cf2004-10-10 21:27:30 +00005 */
6#ifndef __ASM_NIOS2_STRING_H_
7#define __ASM_NIOS2_STRING_H_
8
9#undef __HAVE_ARCH_STRRCHR
10extern char * strrchr(const char * s, int c);
11
12#undef __HAVE_ARCH_STRCHR
13extern char * strchr(const char * s, int c);
14
15#undef __HAVE_ARCH_MEMCPY
16extern void * memcpy(void *, const void *, __kernel_size_t);
17
18#undef __HAVE_ARCH_MEMMOVE
19extern void * memmove(void *, const void *, __kernel_size_t);
20
21#undef __HAVE_ARCH_MEMCHR
22extern void * memchr(const void *, int, __kernel_size_t);
23
24#undef __HAVE_ARCH_MEMSET
25extern void * memset(void *, int, __kernel_size_t);
26
27#undef __HAVE_ARCH_MEMZERO
28extern void memzero(void *ptr, __kernel_size_t n);
29
30#endif /* __ASM_NIOS2_STRING_H_ */