--- ray/src/cv/lampcolor.c 1991/10/28 08:04:23 1.9 +++ ray/src/cv/lampcolor.c 1994/07/05 15:49:51 2.5 @@ -10,12 +10,13 @@ static char SCCSid[] = "$SunId$ LBL"; #include +#include + #include "color.h" #define PI 3.14159265358979323846 extern char *gets(), *strcpy(); -extern double atof(); extern float *matchlamp(); /* lamp parameters */ @@ -38,9 +39,9 @@ struct { int (*check)(); char *help; } param[NPARAMS] = { - { "lamp type", "white", typecheck, + { "lamp type", "WHITE", 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 \"WHITE\" 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\