--- ray/src/px/ra_hexbit.c 1998/07/08 18:01:00 3.1 +++ ray/src/px/ra_hexbit.c 2003/02/22 02:07:27 3.2 @@ -1,19 +1,15 @@ -/* Copyright (c) 1998 Silicon Graphics, Inc. */ - #ifndef lint -static char SCCSid[] = "$SunId$ SGI"; +static const char RCSid[] = "$Id: ra_hexbit.c,v 3.2 2003/02/22 02:07:27 greg Exp $"; #endif - /* * Create a 4x1 hex bitmap from a Radiance picture. */ #include +#include #include "color.h" #include "resolu.h" -extern char *malloc(); - char *progname; int xmax, ymax; @@ -115,5 +111,5 @@ ra2hex() /* convert Radiance scanlines to 4x1 bit hex quiterr("error writing hex bit file"); } /* free scanline */ - free((char *)scanin); + free((void *)scanin); }