Shinya Kuribayashi | 8ea2c4e | 2007-08-31 14:41:45 +0900 | [diff] [blame] | 1 | /* |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 2 | * This file is subject to the terms and conditions of the GNU General Public |
| 3 | * License. See the file "COPYING" in the main directory of this archive |
| 4 | * for more details. |
| 5 | * |
Shinya Kuribayashi | 8ea2c4e | 2007-08-31 14:41:45 +0900 | [diff] [blame] | 6 | * Copyright (c) 1994, 95, 96, 97, 98, 2000, 01 Ralf Baechle |
| 7 | * Copyright (c) 2000 by Silicon Graphics, Inc. |
| 8 | * Copyright (c) 2001 MIPS Technologies, Inc. |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 9 | */ |
Shinya Kuribayashi | 8ea2c4e | 2007-08-31 14:41:45 +0900 | [diff] [blame] | 10 | #ifndef _ASM_STRING_H |
| 11 | #define _ASM_STRING_H |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 12 | |
Shinya Kuribayashi | 8ea2c4e | 2007-08-31 14:41:45 +0900 | [diff] [blame] | 13 | /* |
Shinya Kuribayashi | b4d8a55 | 2007-08-31 14:41:51 +0900 | [diff] [blame] | 14 | * We don't do inline string functions, since the |
| 15 | * optimised inline asm versions are not small. |
Shinya Kuribayashi | 8ea2c4e | 2007-08-31 14:41:45 +0900 | [diff] [blame] | 16 | */ |
Shinya Kuribayashi | 8ea2c4e | 2007-08-31 14:41:45 +0900 | [diff] [blame] | 17 | |
Shinya Kuribayashi | b4d8a55 | 2007-08-31 14:41:51 +0900 | [diff] [blame] | 18 | #undef __HAVE_ARCH_STRCPY |
| 19 | extern char *strcpy(char *__dest, __const__ char *__src); |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 20 | |
Shinya Kuribayashi | b4d8a55 | 2007-08-31 14:41:51 +0900 | [diff] [blame] | 21 | #undef __HAVE_ARCH_STRNCPY |
| 22 | extern char *strncpy(char *__dest, __const__ char *__src, size_t __n); |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 23 | |
Shinya Kuribayashi | b4d8a55 | 2007-08-31 14:41:51 +0900 | [diff] [blame] | 24 | #undef __HAVE_ARCH_STRCMP |
| 25 | extern int strcmp(__const__ char *__cs, __const__ char *__ct); |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 26 | |
Shinya Kuribayashi | b4d8a55 | 2007-08-31 14:41:51 +0900 | [diff] [blame] | 27 | #undef __HAVE_ARCH_STRNCMP |
| 28 | extern int strncmp(__const__ char *__cs, __const__ char *__ct, size_t __count); |
wdenk | 6069ff2 | 2003-02-28 00:49:47 +0000 | [diff] [blame] | 29 | |
| 30 | #undef __HAVE_ARCH_MEMSET |
| 31 | extern void *memset(void *__s, int __c, size_t __count); |
| 32 | |
| 33 | #undef __HAVE_ARCH_MEMCPY |
| 34 | extern void *memcpy(void *__to, __const__ void *__from, size_t __n); |
| 35 | |
| 36 | #undef __HAVE_ARCH_MEMMOVE |
| 37 | extern void *memmove(void *__dest, __const__ void *__src, size_t __n); |
| 38 | |
Shinya Kuribayashi | 8ea2c4e | 2007-08-31 14:41:45 +0900 | [diff] [blame] | 39 | #endif /* _ASM_STRING_H */ |