bitkeeper revision 1.593 (3fb0d1ceZM5ys4sxO5836gfzMM0V9Q)

string.c:
  Always include a memcpy function in Xen, for weird gcc configs.
This commit is contained in:
kaf24@scramble.cl.cam.ac.uk committed 2003-11-11 12:10:54 +00:00
1 parent 3479c52c68
commit 534df3bba6
1 file changed
+1 -2
+1 -2
View File
@@ -391,7 +391,6 @@ char * bcopy(const char * src, char * dest, int count)
}
#endif
#ifndef __HAVE_ARCH_MEMCPY
/**
* memcpy - Copy one area of memory to another
* @dest: Where to copy to
@@ -401,6 +400,7 @@ char * bcopy(const char * src, char * dest, int count)
* You should not use this function to access IO space, use memcpy_toio()
* or memcpy_fromio() instead.
*/
#undef memcpy
void * memcpy(void * dest,const void *src,size_t count)
{
char *tmp = (char *) dest, *s = (char *) src;
@@ -410,7 +410,6 @@ void * memcpy(void * dest,const void *src,size_t count)
return dest;
}
#endif
#ifndef __HAVE_ARCH_MEMMOVE
/**
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.