Daniel Hellstrom | c2f02da | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2000 - 2002 |
| 3 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | * |
| 5 | * (C) Copyright 2007 |
| 6 | * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com. |
| 7 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 8 | * SPDX-License-Identifier: GPL-2.0+ |
Daniel Hellstrom | c2f02da | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #ifndef _SPARC_STRING_H_ |
| 12 | #define _SPARC_STRING_H_ |
| 13 | |
| 14 | /* |
| 15 | #define __HAVE_ARCH_STRCPY |
| 16 | #define __HAVE_ARCH_STRNCPY |
| 17 | #define __HAVE_ARCH_STRLEN |
| 18 | #define __HAVE_ARCH_STRCMP |
| 19 | #define __HAVE_ARCH_STRCAT |
| 20 | #define __HAVE_ARCH_MEMSET |
| 21 | #define __HAVE_ARCH_BCOPY |
| 22 | #define __HAVE_ARCH_MEMCPY |
| 23 | #define __HAVE_ARCH_MEMMOVE |
| 24 | #define __HAVE_ARCH_MEMCMP |
| 25 | #define __HAVE_ARCH_MEMCHR |
| 26 | */ |
| 27 | |
| 28 | extern int strcasecmp(const char *, const char *); |
Simon Glass | b1f17bf | 2012-12-05 14:46:35 +0000 | [diff] [blame] | 29 | extern int strncasecmp(const char *, const char *, __kernel_size_t); |
Daniel Hellstrom | c2f02da | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 30 | extern char *strcpy(char *, const char *); |
| 31 | extern char *strncpy(char *, const char *, __kernel_size_t); |
| 32 | extern __kernel_size_t strlen(const char *); |
| 33 | extern int strcmp(const char *, const char *); |
| 34 | extern char *strcat(char *, const char *); |
| 35 | extern void *memset(void *, int, __kernel_size_t); |
| 36 | extern void *memcpy(void *, const void *, __kernel_size_t); |
| 37 | extern void *memmove(void *, const void *, __kernel_size_t); |
| 38 | extern int memcmp(const void *, const void *, __kernel_size_t); |
| 39 | extern void *memchr(const void *, int, __kernel_size_t); |
| 40 | |
| 41 | #endif |