mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
45 lines
1.0 KiB
C
45 lines
1.0 KiB
C
#ifndef _H8300_STRING_H_
|
|
#define _H8300_STRING_H_
|
|
|
|
#ifdef __KERNEL__ /* only set these up for kernel code */
|
|
|
|
#include <asm/setup.h>
|
|
#include <asm/page.h>
|
|
|
|
#define __HAVE_ARCH_MEMSET
|
|
extern void * memset(void * s, int c, size_t count);
|
|
|
|
#define __HAVE_ARCH_MEMCPY
|
|
extern void * memcpy(void *d, const void *s, size_t count);
|
|
|
|
#else /* KERNEL */
|
|
|
|
/*
|
|
* let user libraries deal with these,
|
|
* IMHO the kernel has no place defining these functions for user apps
|
|
*/
|
|
|
|
#define __HAVE_ARCH_STRCPY 1
|
|
#define __HAVE_ARCH_STRNCPY 1
|
|
#define __HAVE_ARCH_STRCAT 1
|
|
#define __HAVE_ARCH_STRNCAT 1
|
|
#define __HAVE_ARCH_STRCMP 1
|
|
#define __HAVE_ARCH_STRNCMP 1
|
|
#define __HAVE_ARCH_STRNICMP 1
|
|
#define __HAVE_ARCH_STRCHR 1
|
|
#define __HAVE_ARCH_STRRCHR 1
|
|
#define __HAVE_ARCH_STRSTR 1
|
|
#define __HAVE_ARCH_STRLEN 1
|
|
#define __HAVE_ARCH_STRNLEN 1
|
|
#define __HAVE_ARCH_MEMSET 1
|
|
#define __HAVE_ARCH_MEMCPY 1
|
|
#define __HAVE_ARCH_MEMMOVE 1
|
|
#define __HAVE_ARCH_MEMSCAN 1
|
|
#define __HAVE_ARCH_MEMCMP 1
|
|
#define __HAVE_ARCH_MEMCHR 1
|
|
#define __HAVE_ARCH_STRTOK 1
|
|
|
|
#endif /* KERNEL */
|
|
|
|
#endif /* _M68K_STRING_H_ */
|