dtscreen: convert K&R prototypes to ansi C

This commit is contained in:
Peter Howkins
2015-01-14 15:06:33 +00:00
parent 5c8f66a07d
commit d53a979639
14 changed files with 56 additions and 137 deletions

View File

@@ -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;