david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

make bcopy use memmove

This commit is contained in:
Holger Lubitz 2007-07-29 17:35:38 +02:00
parent 84c347c7de
commit f397fc443c
1 changed files with 1 additions and 6 deletions

View File

@ -424,12 +424,7 @@ void * memset(void * s,int c,size_t count)
*/
char * bcopy(const char * src, char * dest, int count)
{
char *tmp = dest;
while (count--)
*tmp++ = *src++;
return dest;
return memmove(dest,src,count);
}
#endif