--- ray/src/cv/lampcolor.c 1991/12/19 15:06:15 2.2 +++ ray/src/cv/lampcolor.c 1993/06/04 14:32:44 2.4 @@ -10,14 +10,13 @@ static char SCCSid[] = "$SunId$ LBL"; #include +#include + #include "color.h" #define PI 3.14159265358979323846 extern char *gets(), *strcpy(); -#ifndef atof -extern double atof(); -#endif extern float *matchlamp(); /* lamp parameters */ @@ -40,9 +39,9 @@ struct { int (*check)(); char *help; } param[NPARAMS] = { - { "lamp type", "white", typecheck, + { "lamp type", "D65WHITE", typecheck, "The lamp type is a string which corresponds to one of the types registered\n\ -in the lamp table file. A value of \"white\" means an uncolored source,\n\ +in the lamp table file. A value of \"D65WHITE\" means an uncolored source,\n\ which may be preferable because it results in a color balanced image." }, { "length unit", "meter", unitcheck, "Unit must be one of: \"meter\", \"centimeter\", \"foot\", or \"inch\".\n\