--- ray/src/rt/srcdraw.c 1997/10/20 17:18:42 2.4 +++ ray/src/rt/srcdraw.c 2003/02/25 02:47:23 2.6 @@ -1,13 +1,14 @@ -/* Copyright (c) 1996 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: srcdraw.c,v 2.6 2003/02/25 02:47:23 greg Exp $"; #endif - /* * Draw small sources into image in case we missed them. + * + * External symbols declared in ray.h */ +#include "copyright.h" + #include "ray.h" #include "view.h" @@ -337,7 +338,7 @@ int rad; /* source sample size */ /* free old source list if one */ for (sp = sphead; sp != NULL; sp = sphead) { sphead = sp->next; - free((char *)sp); + free((void *)sp); } /* loop through all sources */ for (i = nsources; i--; ) { @@ -356,7 +357,7 @@ int rad; /* source sample size */ } } - /* add sources smaller than rad to computed subimage */ +void /* add sources smaller than rad to computed subimage */ drawsources(pic, zbf, x0, xsiz, y0, ysiz) COLOR *pic[]; /* subimage pixel value array */ float *zbf[]; /* subimage distance array (opt.) */