Alexey Brodkin | 544c5f5 | 2014-02-04 12:56:13 +0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #ifndef __ASM_ARC_STRING_H |
| 8 | #define __ASM_ARC_STRING_H |
| 9 | |
| 10 | #define __HAVE_ARCH_MEMSET |
| 11 | #define __HAVE_ARCH_MEMCPY |
| 12 | #define __HAVE_ARCH_MEMCMP |
| 13 | #define __HAVE_ARCH_STRCHR |
| 14 | #define __HAVE_ARCH_STRCPY |
| 15 | #define __HAVE_ARCH_STRCMP |
| 16 | #define __HAVE_ARCH_STRLEN |
| 17 | |
| 18 | extern void *memset(void *ptr, int, __kernel_size_t); |
| 19 | extern void *memcpy(void *, const void *, __kernel_size_t); |
| 20 | extern void memzero(void *ptr, __kernel_size_t n); |
| 21 | extern int memcmp(const void *, const void *, __kernel_size_t); |
| 22 | extern char *strchr(const char *s, int c); |
| 23 | extern char *strcpy(char *dest, const char *src); |
| 24 | extern int strcmp(const char *cs, const char *ct); |
| 25 | extern __kernel_size_t strlen(const char *); |
| 26 | |
| 27 | #endif /* __ASM_ARC_STRING_H */ |