blob: d5db39f9eea1535541a4962e0a027df0a6599bf8 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASM_CRIS_STRING_H
2#define _ASM_CRIS_STRING_H
3
4/* the optimized memcpy is in arch/cris/lib/string.c */
5
6#define __HAVE_ARCH_MEMCPY
7extern void *memcpy(void *, const void *, size_t);
8
9/* New and improved. In arch/cris/lib/memset.c */
10
11#define __HAVE_ARCH_MEMSET
12extern void *memset(void *, int, size_t);
13
Jesper Nilsson7f2ff232009-06-10 15:06:55 +020014#ifdef CONFIG_ETRAX_ARCH_V32
15/* For v32 we provide strcmp. */
16#define __HAVE_ARCH_STRCMP
17extern int strcmp(const char *s1, const char *s2);
18#endif
19
Linus Torvalds1da177e2005-04-16 15:20:36 -070020#endif