ftp://ftp.linux.ncsu.edu/mirror/ftp.redhat.com/pub/redhat/linux/enterprise/4/en/os...
[xscreensaver] / hacks / drift.c
index 8b4aa63ca5df6836e7a26234177c1b7d97b118d9..6059142542671932efd9c92143a42501bb44680e 100644 (file)
@@ -1,9 +1,8 @@
 /* -*- Mode: C; tab-width: 4 -*- */
 /* drift --- drifting recursive fractal cosmic flames */
 
-#if !defined( lint ) && !defined( SABER )
+#if 0
 static const char sccsid[] = "@(#)drift.c      5.00 2000/11/01 xlockmore";
-
 #endif
 
 /*-
@@ -62,20 +61,20 @@ static Bool liss;
 
 static XrmOptionDescRec opts[] =
 {
-       {(char *) "-grow", (char *) ".drift.grow", XrmoptionNoArg, (caddr_t) "on"},
-       {(char *) "+grow", (char *) ".drift.grow", XrmoptionNoArg, (caddr_t) "off"},
-       {(char *) "-liss", (char *) ".drift.trail", XrmoptionNoArg, (caddr_t) "on"},
-       {(char *) "+liss", (char *) ".drift.trail", XrmoptionNoArg, (caddr_t) "off"}
+       {"-grow", ".drift.grow", XrmoptionNoArg, "on"},
+       {"+grow", ".drift.grow", XrmoptionNoArg, "off"},
+       {"-liss", ".drift.trail", XrmoptionNoArg, "on"},
+       {"+liss", ".drift.trail", XrmoptionNoArg, "off"}
 };
 static argtype vars[] =
 {
-       {(caddr_t *) & grow, (char *) "grow", (char *) "Grow", (char *) DEF_GROW, t_Bool},
-       {(caddr_t *) & liss, (char *) "liss", (char *) "Liss", (char *) DEF_LISS, t_Bool}
+       {&grow, "grow", "Grow", DEF_GROW, t_Bool},
+       {&liss, "liss", "Liss", DEF_LISS, t_Bool}
 };
 static OptionStruct desc[] =
 {
-       {(char *) "-/+grow", (char *) "turn on/off growing fractals, else they are animated"},
-       {(char *) "-/+liss", (char *) "turn on/off using lissojous figures to get points"}
+       {"-/+grow", "turn on/off growing fractals, else they are animated"},
+       {"-/+liss", "turn on/off using lissojous figures to get points"}
 };
 
 ModeSpecOpt drift_opts =