blob: 909129c333188e12b5f9de8a7f37e1fb2381d50d [file] [log] [blame]
Alexey Brodkin544c5f52014-02-04 12:56:13 +04001/*
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
18extern void *memset(void *ptr, int, __kernel_size_t);
19extern void *memcpy(void *, const void *, __kernel_size_t);
20extern void memzero(void *ptr, __kernel_size_t n);
21extern int memcmp(const void *, const void *, __kernel_size_t);
22extern char *strchr(const char *s, int c);
23extern char *strcpy(char *dest, const char *src);
24extern int strcmp(const char *cs, const char *ct);
25extern __kernel_size_t strlen(const char *);
26
27#endif /* __ASM_ARC_STRING_H */