ia64/xen-unstable

view xen/include/asm-powerpc/powerpc64/string.h @ 16457:9fd36167ecfa

Remove unused bcopy() implementation.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Sat Nov 24 22:33:38 2007 +0000 (2007-11-24)
parents 176c7264715c
children
line source
1 /* from linux/include/asm-powerpc/string.h */
3 #ifndef _PPC64_STRING_H_
4 #define _PPC64_STRING_H_
6 #include <xen/types.h>
8 /*
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version
12 * 2 of the License, or (at your option) any later version.
13 */
15 #define __HAVE_ARCH_STRCPY
16 #define __HAVE_ARCH_STRNCPY
17 #define __HAVE_ARCH_STRLEN
18 #define __HAVE_ARCH_STRCMP
19 #define __HAVE_ARCH_STRCAT
20 #define __HAVE_ARCH_MEMSET
21 #define __HAVE_ARCH_MEMCPY
22 #define __HAVE_ARCH_MEMMOVE
23 #define __HAVE_ARCH_MEMCMP
24 #define __HAVE_ARCH_MEMCHR
26 extern int strcasecmp(const char *, const char *);
27 extern int strncasecmp(const char *, const char *, int);
28 extern char * strcpy(char *,const char *);
29 extern char * strncpy(char *,const char *, __kernel_size_t);
30 extern __kernel_size_t strlen(const char *);
31 extern int strcmp(const char *,const char *);
32 extern char * strcat(char *, const char *);
33 extern void * memset(void *,int,__kernel_size_t);
34 extern void * memcpy(void *,const void *,__kernel_size_t);
35 extern void * memmove(void *,const void *,__kernel_size_t);
36 extern int memcmp(const void *,const void *,__kernel_size_t);
37 extern void * memchr(const void *,int,__kernel_size_t);
39 extern void *systemsim_memset(void *, int, ulong);
40 extern void *systemsim_memcpy(void *, const void *, ulong);
42 #endif