X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Frubik.c;h=1f2be0abee1884f97c1e912d5b78c3f8adada387;hb=e4fa2ac140f7bc56571373a7b7eb585fa4500e38;hp=f57b5328387a0dc1a501df0dd487d6c3798cb300;hpb=3f9592851ce4ed76a9979bfdd6ec7dc5c457e183;p=xscreensaver diff --git a/hacks/glx/rubik.c b/hacks/glx/rubik.c index f57b5328..1f2be0ab 100644 --- a/hacks/glx/rubik.c +++ b/hacks/glx/rubik.c @@ -1,9 +1,8 @@ /* -*- Mode: C; tab-width: 4 -*- */ /* rubik --- Shows an auto-solving Rubik's cube */ -#if !defined( lint ) && !defined( SABER ) +#if 0 static const char sccsid[] = "@(#)rubik.c 5.01 2001/03/01 xlockmore"; - #endif /*- @@ -153,10 +152,10 @@ static XrmOptionDescRec opts[] = static argtype vars[] = { - {(caddr_t *) & sizex, (char *) "sizex", (char *) "SizeX", (char *) DEF_SIZEX, t_Int}, - {(caddr_t *) & sizey, (char *) "sizey", (char *) "SizeY", (char *) DEF_SIZEY, t_Int}, - {(caddr_t *) & sizez, (char *) "sizez", (char *) "SizeZ", (char *) DEF_SIZEZ, t_Int}, - {(caddr_t *) & hideshuffling, (char *) "hideshuffling", (char *) "Hideshuffling", (char *) DEF_HIDESHUFFLING, t_Bool} + {&sizex, "sizex", "SizeX", DEF_SIZEX, t_Int}, + {&sizey, "sizey", "SizeY", DEF_SIZEY, t_Int}, + {&sizez, "sizez", "SizeZ", DEF_SIZEZ, t_Int}, + {&hideshuffling, "hideshuffling", "Hideshuffling", DEF_HIDESHUFFLING, t_Bool} }; static OptionStruct desc[] =