--- ray/src/common/readobj.c 2003/06/08 12:03:09 2.14 +++ ray/src/common/readobj.c 2003/10/22 02:06:34 2.17 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: readobj.c,v 2.14 2003/06/08 12:03:09 schorsch Exp $"; +static const char RCSid[] = "$Id: readobj.c,v 2.17 2003/10/22 02:06:34 greg Exp $"; #endif /* * readobj.c - routines for reading in object descriptions. @@ -10,11 +10,11 @@ static const char RCSid[] = "$Id: readobj.c,v 2.14 200 #include "copyright.h" #include +#include #include -#include -#include "standard.h" #include "platform.h" +#include "standard.h" #include "object.h" #include "otypes.h" @@ -165,7 +165,7 @@ newobject() /* get a new object */ void freeobjects(firstobj, nobjs) /* free a range of objects */ -OBJECT firstobj, nobjs; +int firstobj, nobjs; { register int obj; /* check bounds */ @@ -181,7 +181,7 @@ OBJECT firstobj, nobjs; free_os(o); /* free client memory */ freeqstr(o->oname); freefargs(&o->oargs); - bzero((void *)o, sizeof(OBJREC)); + memset((void *)o, '\0', sizeof(OBJREC)); } clearobjndx(); /* free objects off end */