From: Daniel J S. <dan...@ie...> - 2004-09-01 19:58:41
|
Ethan Merritt wrote: >On Tuesday 31 August 2004 02:31 am, Daniel J Sebald wrote: > > >>Yes, there are several things that can be cleaned up yet, especially if >>the #ifdef .. #else .. #endif constructs are untangled. And as always, >>one codes something up and then later realizes a way of improving >>things. >> >> > > >../term/pdf.trm:1201: warning: implicit declaration of function `rgb255_from_gray' > >brogar [37] grep -l rgb255_from_gray term/*.trm >term/gd.trm >term/pdf.trm >term/post.trm > > >Wasn't the rgb255_from_gray() function superseded by >rgb255maxcolors_from_gray(double gray, rgb255_color *rgb255) > >Should the calls be replaced in the three drivers above, >and the original function removed altogether? > I didn't follow the issue there. rgb255_from_gray() was commented out of CVS, then I thought maybe it was put back in for the PNG vectors patch. But if it was superseded (which looks to be the case, as I see now that these are duplicate functions), please change as you see fit. Dan |