mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-03 18:59:44 +02:00
use memset() instead of deprecated bzero()
This commit is contained in:
@@ -599,20 +599,6 @@ stripWhiteSpacesInsideParens(char *str)
|
||||
}
|
||||
|
||||
|
||||
#ifndef HAVE_BZERO
|
||||
#ifndef bzero
|
||||
void
|
||||
bzero(void *vptr, size_t num)
|
||||
{
|
||||
register char *ptr=vptr;
|
||||
while (num-- > 0)
|
||||
*ptr++ = '\0';
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
bool
|
||||
isquote( char ch )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user