mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-03 02:53:04 +02:00
use memcpy() instead of deprecated bcopy()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user