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