Shinya Kuribayashi | 8ea2c4e | 2007-08-31 14:41:45 +0900 | [diff] [blame] | 1 | /* |
Shinya Kuribayashi | 8ea2c4e | 2007-08-31 14:41:45 +0900 | [diff] [blame] | 2 | * Copyright (c) 1994, 95, 96, 97, 98, 2000, 01 Ralf Baechle |
| 3 | * Copyright (c) 2000 by Silicon Graphics, Inc. |
| 4 | * Copyright (c) 2001 MIPS Technologies, Inc. |
Daniel Schwierzeck | 898582b | 2016-01-12 21:48:27 +0100 | [diff] [blame] | 5 | * |
| 6 | * SPDX-License-Identifier: GPL-2.0 |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 7 | */ |
Shinya Kuribayashi | 8ea2c4e | 2007-08-31 14:41:45 +0900 | [diff] [blame] | 8 | #ifndef _ASM_STRING_H |
| 9 | #define _ASM_STRING_H |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 10 | |
Shinya Kuribayashi | 8ea2c4e | 2007-08-31 14:41:45 +0900 | [diff] [blame] | 11 | /* |
Shinya Kuribayashi | b4d8a55 | 2007-08-31 14:41:51 +0900 | [diff] [blame] | 12 | * We don't do inline string functions, since the |
| 13 | * optimised inline asm versions are not small. |
Shinya Kuribayashi | 8ea2c4e | 2007-08-31 14:41:45 +0900 | [diff] [blame] | 14 | */ |
Shinya Kuribayashi | 8ea2c4e | 2007-08-31 14:41:45 +0900 | [diff] [blame] | 15 | |
Shinya Kuribayashi | b4d8a55 | 2007-08-31 14:41:51 +0900 | [diff] [blame] | 16 | #undef __HAVE_ARCH_STRCPY |
| 17 | extern char *strcpy(char *__dest, __const__ char *__src); |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 18 | |
Shinya Kuribayashi | b4d8a55 | 2007-08-31 14:41:51 +0900 | [diff] [blame] | 19 | #undef __HAVE_ARCH_STRNCPY |
Jean-Christophe PLAGNIOL-VILLARD | 7b0a422 | 2007-10-21 09:14:28 +0200 | [diff] [blame] | 20 | extern char *strncpy(char *__dest, __const__ char *__src, __kernel_size_t __n); |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 21 | |
Shinya Kuribayashi | b4d8a55 | 2007-08-31 14:41:51 +0900 | [diff] [blame] | 22 | #undef __HAVE_ARCH_STRCMP |
| 23 | extern int strcmp(__const__ char *__cs, __const__ char *__ct); |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 24 | |
Shinya Kuribayashi | b4d8a55 | 2007-08-31 14:41:51 +0900 | [diff] [blame] | 25 | #undef __HAVE_ARCH_STRNCMP |
Jean-Christophe PLAGNIOL-VILLARD | 7b0a422 | 2007-10-21 09:14:28 +0200 | [diff] [blame] | 26 | extern int strncmp(__const__ char *__cs, __const__ char *__ct, __kernel_size_t __count); |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 27 | |
| 28 | #undef __HAVE_ARCH_MEMSET |
Jean-Christophe PLAGNIOL-VILLARD | 7b0a422 | 2007-10-21 09:14:28 +0200 | [diff] [blame] | 29 | extern void *memset(void *__s, int __c, __kernel_size_t __count); |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 30 | |
| 31 | #undef __HAVE_ARCH_MEMCPY |
Jean-Christophe PLAGNIOL-VILLARD | 7b0a422 | 2007-10-21 09:14:28 +0200 | [diff] [blame] | 32 | extern void *memcpy(void *__to, __const__ void *__from, __kernel_size_t __n); |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 33 | |
| 34 | #undef __HAVE_ARCH_MEMMOVE |
Jean-Christophe PLAGNIOL-VILLARD | 7b0a422 | 2007-10-21 09:14:28 +0200 | [diff] [blame] | 35 | extern void *memmove(void *__dest, __const__ void *__src, __kernel_size_t __n); |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 36 | |
Shinya Kuribayashi | 8ea2c4e | 2007-08-31 14:41:45 +0900 | [diff] [blame] | 37 | #endif /* _ASM_STRING_H */ |