2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-01-18 21:43:14 +00:00

make bcopy use memmove

This commit is contained in:
Holger Lubitz 2007-07-29 17:35:38 +02:00
parent 84c347c7de
commit f397fc443c

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