*
*/
-/*-
- * due to a Bug/feature in VMS X11/Intrinsic.h has to be placed before xlock.
- * otherwise caddr_t is not defined correctly
- */
-
-#include <X11/Intrinsic.h>
-
#ifdef STANDALONE
# define PROGCLASS "Klein"
# define HACK_INIT init_klein
SEASHELL,
SWALLOWTAIL,
BOHEM,
- SURFACE_LAST,
+ SURFACE_LAST
};
/* primitives to draw with
MY_POINTS = 0,
MY_LINES,
MY_LINE_LOOP,
- MY_PRIM_LAST,
+ MY_PRIM_LAST
};
static Bool do_wander;
static XrmOptionDescRec opts[] = {
- {"-speed", ".speed", XrmoptionSepArg, (caddr_t) 0 },
+ {"-speed", ".speed", XrmoptionSepArg, 0 },
{ "-spin", ".spin", XrmoptionNoArg, "True" },
{ "+spin", ".spin", XrmoptionNoArg, "False" },
{ "-wander", ".wander", XrmoptionNoArg, "True" },
};
static argtype vars[] = {
- {(caddr_t *) &rand, "rand", "Random", DEF_RANDOM, t_Bool},
- {(caddr_t *) &do_spin, "spin", "Spin", DEF_SPIN, t_Bool},
- {(caddr_t *) &do_wander, "wander", "Wander", DEF_WANDER, t_Bool},
- {(caddr_t *) &speed, "speed", "Speed", DEF_SPEED, t_Int},
+ {&rand, "rand", "Random", DEF_RANDOM, t_Bool},
+ {&do_spin, "spin", "Spin", DEF_SPIN, t_Bool},
+ {&do_wander, "wander", "Wander", DEF_WANDER, t_Bool},
+ {&speed, "speed", "Speed", DEF_SPEED, t_Int},
};