dtscreen: convert K&R prototypes to ansi C
This commit is contained in:
@@ -113,18 +113,10 @@ hsb2rgb(H, S, B, r, g, b)
|
||||
*/
|
||||
|
||||
void
|
||||
hsbramp(h1, s1, b1, h2, s2, b2, count, red, green, blue)
|
||||
double h1,
|
||||
s1,
|
||||
b1,
|
||||
h2,
|
||||
s2,
|
||||
b2;
|
||||
int count;
|
||||
|
||||
u_char *red,
|
||||
*green,
|
||||
*blue;
|
||||
hsbramp(double h1, double s1, double b1,
|
||||
double h2, double s2, double b2,
|
||||
int count,
|
||||
u_char *red, u_char *green, u_char *blue)
|
||||
{
|
||||
double dh;
|
||||
double ds;
|
||||
|
||||
Reference in New Issue
Block a user