treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / parisc / include / asm / string.h
blob4a0c9dbd62fd0cf56744490d069697f7062c9aa7
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PA_STRING_H_
3 #define _PA_STRING_H_
5 #define __HAVE_ARCH_MEMSET
6 extern void * memset(void *, int, size_t);
8 #define __HAVE_ARCH_MEMCPY
9 void * memcpy(void * dest,const void *src,size_t count);
11 #define __HAVE_ARCH_STRLEN
12 extern size_t strlen(const char *s);
14 #define __HAVE_ARCH_STRCPY
15 extern char *strcpy(char *dest, const char *src);
17 #define __HAVE_ARCH_STRNCPY
18 extern char *strncpy(char *dest, const char *src, size_t count);
20 #define __HAVE_ARCH_STRCAT
21 extern char *strcat(char *dest, const char *src);
23 #define __HAVE_ARCH_MEMSET
24 extern void *memset(void *, int, size_t);
26 #endif