--- ray/src/common/readobj.c 2003/03/11 19:29:04 2.11 +++ ray/src/common/readobj.c 2003/06/20 00:25:49 2.15 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: readobj.c,v 2.11 2003/03/11 19:29:04 greg Exp $"; +static const char RCSid[] = "$Id: readobj.c,v 2.15 2003/06/20 00:25:49 greg Exp $"; #endif /* * readobj.c - routines for reading in object descriptions. @@ -9,13 +9,15 @@ static const char RCSid[] = "$Id: readobj.c,v 2.11 200 #include "copyright.h" -#include "standard.h" +#include +#include +#include +#include "standard.h" +#include "platform.h" #include "object.h" - #include "otypes.h" -#include OBJREC *objblock[MAXOBJBLK]; /* our objects */ OBJECT nobjects = 0; /* # of objects */ @@ -163,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 */ @@ -179,7 +181,7 @@ OBJECT firstobj, nobjs; free_os(o); /* free client memory */ freeqstr(o->oname); freefargs(&o->oargs); - bzero(o, sizeof(OBJREC)); + bzero((void *)o, sizeof(OBJREC)); } clearobjndx(); /* free objects off end */