--- ray/src/px/macbethcal.c 1999/07/16 16:12:20 2.16 +++ ray/src/px/macbethcal.c 2003/02/22 02:07:27 2.17 @@ -1,9 +1,6 @@ -/* Copyright (c) 1999 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ SGI"; +static const char RCSid[] = "$Id: macbethcal.c,v 2.17 2003/02/22 02:07:27 greg Exp $"; #endif - /* * Calibrate a scanned MacBeth Color Checker Chart * @@ -18,6 +15,7 @@ static char SCCSid[] = "$SunId$ SGI"; #ifdef MSDOS #include #endif +#include #include "color.h" #include "resolu.h" #include "pmap.h" @@ -125,9 +123,7 @@ WARP3D *wcor = NULL; /* color space warp */ FILE *debugfp = NULL; /* debug output picture */ char *progname; -extern char *malloc(); - main(argc, argv) int argc; char **argv; @@ -362,7 +358,7 @@ getpicture() /* load in picture colors */ scalecolor(inpRGB[i], d); inpflags |= 1L<