static XrmOptionDescRec opts[] =
{
- {(char *) "-neighbors", (char *) ".loop.neighbors", XrmoptionSepArg, (caddr_t) NULL}
+ {"-neighbors", ".loop.neighbors", XrmoptionSepArg, 0}
};
static argtype vars[] =
static OptionStruct desc[] =
{
- {(char *) "-neighbors num", (char *) "squares 4 or hexagons 6"}
+ {"-neighbors num", "squares 4 or hexagons 6"}
};
ModeSpecOpt loop_opts =
}
}
+static void *stop_warning_about_triangleUnit_already;
+
+
void
init_loop(ModeInfo * mi)
{
loopstruct *lp;
XGCValues gcv;
+ stop_warning_about_triangleUnit_already = (void *) &triangleUnit;
+
if (loops == NULL) {
if ((loops = (loopstruct *) calloc(MI_NUM_SCREENS(mi),
sizeof (loopstruct))) == NULL)