--- ray/src/common/readobj.c 2003/06/08 12:03:09 2.14 +++ ray/src/common/readobj.c 2003/06/30 14:59:11 2.16 @@ -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.16 2003/06/30 14:59:11 schorsch Exp $"; #endif /* * readobj.c - routines for reading in object descriptions. @@ -10,8 +10,8 @@ static const char RCSid[] = "$Id: readobj.c,v 2.14 200 #include "copyright.h" #include +#include #include -#include #include "standard.h" #include "platform.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 */