bzero -> memset

This commit is contained in:
K. Richard Pixley
1993-09-01 21:56:42 +00:00
parent 9823e3f4c9
commit 4ed97c9a83
20 changed files with 69 additions and 58 deletions

View File

@@ -407,8 +407,8 @@ explicit_lookup_type (real_filenum, index)
f->length *= 2;
f->vector = (struct type **)
xrealloc (f->vector, f->length * sizeof (struct type *));
bzero (&f->vector[f->length / 2],
f->length * sizeof (struct type *) / 2);
memset (&f->vector[f->length / 2],
'\0', f->length * sizeof (struct type *) / 2);
}
return &f->vector[index];
}