--- ray/src/px/greyscale.c 1989/02/02 10:49:20 1.1 +++ ray/src/px/greyscale.c 2003/02/22 02:07:27 2.6 @@ -1,9 +1,6 @@ -/* Copyright (c) 1986 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: greyscale.c,v 2.6 2003/02/22 02:07:27 greg Exp $"; #endif - /* * greyscale.c - program to produce grey test levels. * @@ -12,6 +9,8 @@ static char SCCSid[] = "$SunId$ LBL"; #include +#include + #include "color.h" @@ -23,7 +22,7 @@ int argc; char *argv[]; { COLOR col; - double d1,d2,d3, atof(), log(); + double d1,d2,d3; int i; printargs(argc, argv, stdout); @@ -60,7 +59,6 @@ char *argv[]; greyscale(col0) /* output our grey scale */ COLOR col0; { - double exp(); COLOR col1, col2, scanline[512]; double x; int j;