mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtscreen: Change to ANSI function definitions
This commit is contained in:
parent
6f41ecc453
commit
97005a091e
2 changed files with 2 additions and 9 deletions
|
@ -139,8 +139,7 @@ static Window *winprop = NULL; /* dtsession cover windows */
|
||||||
|
|
||||||
/* VARARGS1 */
|
/* VARARGS1 */
|
||||||
void
|
void
|
||||||
error(s1, s2)
|
error(char *s1, char *s2)
|
||||||
char *s1, *s2;
|
|
||||||
{
|
{
|
||||||
fprintf(stderr, s1, ProgramName, s2);
|
fprintf(stderr, s1, ProgramName, s2);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
|
@ -46,13 +46,7 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
hsb2rgb(H, S, B, r, g, b)
|
hsb2rgb(double H, double S, double B, u_char *r, u_char *g, u_char *b)
|
||||||
double H,
|
|
||||||
S,
|
|
||||||
B;
|
|
||||||
u_char *r,
|
|
||||||
*g,
|
|
||||||
*b;
|
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
double f;
|
double f;
|
||||||
|
|
Loading…
Reference in a new issue