1 typedef struct {
2     int dummy;
3     int width, height;
4 } XWindowAttributes;
5 
6 typedef struct {
7     short x, y;
8 } XPoint;
9 
10 extern unsigned int ya_random (void);
11 extern int XDrawPoints(XPoint*, int);
12 
13 static int iterations, offset;
14 static int  xsym, ysym;
15 
16 static void
hurm(void)17 hurm (void)
18 {
19   XWindowAttributes xgwa;
20   int xlim, ylim, x, y, i;
21   XPoint points [4];
22 
23 
24   for (i = 0; i < iterations; i++)
25     {
26       int j = 0;
27       j++;
28       if (xsym)
29         {
30           points [j].x = xlim - x;
31           j++;
32         }
33       points [j].x = x;
34       j++;
35     }
36 }
37 
38