X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fklein.c;h=2f3e7e74d9915c92512fb5bcf5c818927436a997;hp=e4a87158c1f7d193149714fca9d7acc734ef8f22;hb=ffd8c0873576a9e3065696a624dce6b766b77062;hpb=6a1da724858673ac40aa13a9612340d8bed8c7b9 diff --git a/hacks/glx/klein.c b/hacks/glx/klein.c index e4a87158..2f3e7e74 100644 --- a/hacks/glx/klein.c +++ b/hacks/glx/klein.c @@ -10,13 +10,6 @@ * */ -/*- - * due to a Bug/feature in VMS X11/Intrinsic.h has to be placed before xlock. - * otherwise caddr_t is not defined correctly - */ - -#include - #ifdef STANDALONE # define PROGCLASS "Klein" # define HACK_INIT init_klein @@ -89,7 +82,7 @@ static Bool do_spin; 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" }, @@ -99,10 +92,10 @@ static XrmOptionDescRec opts[] = { }; 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}, };