diff --git a/cde/programs/dtscreen/dtscreen.c b/cde/programs/dtscreen/dtscreen.c index 84aad0f2e..a02444502 100644 --- a/cde/programs/dtscreen/dtscreen.c +++ b/cde/programs/dtscreen/dtscreen.c @@ -139,8 +139,7 @@ static Window *winprop = NULL; /* dtsession cover windows */ /* VARARGS1 */ void -error(s1, s2) - char *s1, *s2; +error(char *s1, char *s2) { fprintf(stderr, s1, ProgramName, s2); exit(1); diff --git a/cde/programs/dtscreen/hsbramp.c b/cde/programs/dtscreen/hsbramp.c index a5a539cc1..2b05d4447 100644 --- a/cde/programs/dtscreen/hsbramp.c +++ b/cde/programs/dtscreen/hsbramp.c @@ -46,13 +46,7 @@ #include void -hsb2rgb(H, S, B, r, g, b) - double H, - S, - B; - u_char *r, - *g, - *b; +hsb2rgb(double H, double S, double B, u_char *r, u_char *g, u_char *b) { int i; double f;