projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.38.tar.gz
[xscreensaver]
/
hacks
/
glx
/
hydrostat.c
diff --git
a/hacks/glx/hydrostat.c
b/hacks/glx/hydrostat.c
index 776df0a7db3229ef4a222199d6f723ccd17fc7f2..2254483784460a9111ad392c82ff5556e70bfb24 100644
(file)
--- a/
hacks/glx/hydrostat.c
+++ b/
hacks/glx/hydrostat.c
@@
-33,7
+33,6
@@
"*wireframe: False \n" \
"*suppressRotationAnimation: True\n" \
"*wireframe: False \n" \
"*suppressRotationAnimation: True\n" \
-# define refresh_hydrostat 0
# define release_hydrostat 0
#undef countof
#define countof(x) (sizeof((x))/sizeof((*x)))
# define release_hydrostat 0
#undef countof
#define countof(x) (sizeof((x))/sizeof((*x)))
@@
-641,8
+640,6
@@
hydrostat_handle_event (ModeInfo *mi, XEvent *event)
}
}
-static void free_hydrostat (ModeInfo *mi);
-
ENTRYPOINT void
init_hydrostat (ModeInfo *mi)
{
ENTRYPOINT void
init_hydrostat (ModeInfo *mi)
{
@@
-650,7
+647,7
@@
init_hydrostat (ModeInfo *mi)
hydrostat_configuration *bp;
int i;
hydrostat_configuration *bp;
int i;
- MI_INIT (mi, bps
, free_hydrostat
);
+ MI_INIT (mi, bps);
bp = &bps[MI_SCREEN(mi)];
bp = &bps[MI_SCREEN(mi)];
@@
-759,7
+756,7
@@
draw_hydrostat (ModeInfo *mi)
}
}
-
static
void
+
ENTRYPOINT
void
free_hydrostat (ModeInfo *mi)
{
hydrostat_configuration *bp = &bps[MI_SCREEN(mi)];
free_hydrostat (ModeInfo *mi)
{
hydrostat_configuration *bp = &bps[MI_SCREEN(mi)];