projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://se.aminet.net/pub/Linux/distributions/slackware/slackware-10.1/source/xap...
[xscreensaver]
/
hacks
/
demon.c
diff --git
a/hacks/demon.c
b/hacks/demon.c
index df7ea3e8a501ad1a487a9c09e350c2f86f53b0d8..fcb965980417b319749145d8edfa3b17d5ccd97b 100644
(file)
--- a/
hacks/demon.c
+++ b/
hacks/demon.c
@@
-1,9
+1,8
@@
/* -*- Mode: C; tab-width: 4 -*- */
/* demon --- David Griffeath's cellular automata */
/* -*- Mode: C; tab-width: 4 -*- */
/* demon --- David Griffeath's cellular automata */
-#if
!defined( lint ) && !defined( SABER )
+#if
0
static const char sccsid[] = "@(#)demon.c 5.00 2000/11/01 xlockmore";
static const char sccsid[] = "@(#)demon.c 5.00 2000/11/01 xlockmore";
-
#endif
/*-
#endif
/*-
@@
-78,16
+77,16
@@
static int neighbors;
static XrmOptionDescRec opts[] =
{
static XrmOptionDescRec opts[] =
{
- {
(char *) "-neighbors", (char *) ".demon.neighbors", XrmoptionSepArg, (caddr_t) NULL
}
+ {
"-neighbors", ".demon.neighbors", XrmoptionSepArg, 0
}
};
static argtype vars[] =
{
};
static argtype vars[] =
{
- {
(caddr_t *) & neighbors, (char *) "neighbors", (char *) "Neighbors", (char *)
DEF_NEIGHBORS, t_Int}
+ {
&neighbors, "neighbors", "Neighbors",
DEF_NEIGHBORS, t_Int}
};
static OptionStruct desc[] =
{
};
static OptionStruct desc[] =
{
- {
(char *) "-neighbors num", (char *)
"squares 4 or 8, hexagons 6, triangles 3, 9 or 12"}
+ {
"-neighbors num",
"squares 4 or 8, hexagons 6, triangles 3, 9 or 12"}
};
ModeSpecOpt demon_opts =
};
ModeSpecOpt demon_opts =