use memcpy() instead of deprecated bcopy()

This commit is contained in:
rlar
2016-07-30 20:58:19 +02:00
parent 9ab2960e87
commit 141ed61ec8
29 changed files with 39 additions and 60 deletions
-14
View File
@@ -599,20 +599,6 @@ stripWhiteSpacesInsideParens(char *str)
}
#ifndef HAVE_BCOPY
#ifndef bcopy
void
bcopy(const void *vfrom, void *vto, size_t num)
{
register const char *from=vfrom;
register char *to=vto;
while (num-- > 0)
*to++ = *from++;
return;
}
#endif
#endif
#ifndef HAVE_BZERO
#ifndef bzero
void