mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-23 10:28:51 +09:00
![Daniel Schwierzeck](/assets/img/avatar_default.png)
Add a SPDX license identifier to MIPS header files where it is still missing. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
/*
|
|
* Copyright (c) 1994, 95, 96, 97, 98, 2000, 01 Ralf Baechle
|
|
* Copyright (c) 2000 by Silicon Graphics, Inc.
|
|
* Copyright (c) 2001 MIPS Technologies, Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0
|
|
*/
|
|
#ifndef _ASM_STRING_H
|
|
#define _ASM_STRING_H
|
|
|
|
/*
|
|
* We don't do inline string functions, since the
|
|
* optimised inline asm versions are not small.
|
|
*/
|
|
|
|
#undef __HAVE_ARCH_STRCPY
|
|
extern char *strcpy(char *__dest, __const__ char *__src);
|
|
|
|
#undef __HAVE_ARCH_STRNCPY
|
|
extern char *strncpy(char *__dest, __const__ char *__src, __kernel_size_t __n);
|
|
|
|
#undef __HAVE_ARCH_STRCMP
|
|
extern int strcmp(__const__ char *__cs, __const__ char *__ct);
|
|
|
|
#undef __HAVE_ARCH_STRNCMP
|
|
extern int strncmp(__const__ char *__cs, __const__ char *__ct, __kernel_size_t __count);
|
|
|
|
#undef __HAVE_ARCH_MEMSET
|
|
extern void *memset(void *__s, int __c, __kernel_size_t __count);
|
|
|
|
#undef __HAVE_ARCH_MEMCPY
|
|
extern void *memcpy(void *__to, __const__ void *__from, __kernel_size_t __n);
|
|
|
|
#undef __HAVE_ARCH_MEMMOVE
|
|
extern void *memmove(void *__dest, __const__ void *__src, __kernel_size_t __n);
|
|
|
|
#endif /* _ASM_STRING_H */
|