X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2FxlockmoreI.h;fp=hacks%2FxlockmoreI.h;h=1d54b7814f65f6c5563c63672836347decfbd476;hp=42e553e0c1a5ce61759cbe4aa71cf3c2f58cb409;hb=d1ae2829ff0fd2a96c16a0c8c5420efaa47d7b30;hpb=7edd66e6bd3209013ee059819747b10b5835635b diff --git a/hacks/xlockmoreI.h b/hacks/xlockmoreI.h index 42e553e0..1d54b781 100644 --- a/hacks/xlockmoreI.h +++ b/hacks/xlockmoreI.h @@ -80,13 +80,7 @@ extern void xlockmore_setup (struct xscreensaver_function_table *, void *); extern void xlockmore_do_fps (Display *, Window, fps_state *, void *); -/* Compatibility with the xlockmore RNG API - (note that the xlockmore hacks never expect negative numbers.) - */ -#define LRAND() ((long) (random() & 0x7fffffff)) -#define NRAND(n) ((int) (LRAND() % (n))) -#define MAXRAND (2147483648.0) /* unsigned 1<<31 as a float */ -#define SRAND(n) /* already seeded by screenhack.c */ +/* The xlockmore RNG API is implemented in utils/yarandom.h. */ struct ModeInfo {