diff options
author | wdenk <wdenk> | 2000-08-21 15:05:47 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2000-08-21 15:05:47 +0000 |
commit | b15cbc0be004d352d4dd661546847bd52fbf8a28 (patch) | |
tree | 73d4277296a2d00ca9b090c784584d94b3bc5bf8 /include/asm-ppc/string.h | |
parent | 40c855574cff21a97c01d8f8d2ee2b8436eebce2 (diff) | |
download | bootable_bootloader_goldelico_gta04-b15cbc0be004d352d4dd661546847bd52fbf8a28.zip bootable_bootloader_goldelico_gta04-b15cbc0be004d352d4dd661546847bd52fbf8a28.tar.gz bootable_bootloader_goldelico_gta04-b15cbc0be004d352d4dd661546847bd52fbf8a28.tar.bz2 |
Initial revision
Diffstat (limited to 'include/asm-ppc/string.h')
-rw-r--r-- | include/asm-ppc/string.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/asm-ppc/string.h b/include/asm-ppc/string.h new file mode 100644 index 0000000..d912a6b --- /dev/null +++ b/include/asm-ppc/string.h @@ -0,0 +1,29 @@ +#ifndef _PPC_STRING_H_ +#define _PPC_STRING_H_ + +#define __HAVE_ARCH_STRCPY +#define __HAVE_ARCH_STRNCPY +#define __HAVE_ARCH_STRLEN +#define __HAVE_ARCH_STRCMP +#define __HAVE_ARCH_STRCAT +#define __HAVE_ARCH_MEMSET +#define __HAVE_ARCH_BCOPY +#define __HAVE_ARCH_MEMCPY +#define __HAVE_ARCH_MEMMOVE +#define __HAVE_ARCH_MEMCMP +#define __HAVE_ARCH_MEMCHR + +extern int strcasecmp(const char *, const char *); +extern int strncasecmp(const char *, const char *, int); +extern char * strcpy(char *,const char *); +extern char * strncpy(char *,const char *, __kernel_size_t); +extern __kernel_size_t strlen(const char *); +extern int strcmp(const char *,const char *); +extern char * strcat(char *, const char *); +extern void * memset(void *,int,__kernel_size_t); +extern void * memcpy(void *,const void *,__kernel_size_t); +extern void * memmove(void *,const void *,__kernel_size_t); +extern int memcmp(const void *,const void *,__kernel_size_t); +extern void * memchr(const void *,int,__kernel_size_t); + +#endif |