X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fscreenhack.h;h=158a251fa8afa006bc3d9e52a704487fbadee3bb;hb=de041722414a2e31c1c04caa10aaec9d6952e9b4;hp=a92cf70dc32672284c8c773ce8abfa922cb48225;hpb=f3e0240915ed9f9b3a61781f5c7002d587563fe0;p=xscreensaver diff --git a/hacks/screenhack.h b/hacks/screenhack.h index a92cf70d..158a251f 100644 --- a/hacks/screenhack.h +++ b/hacks/screenhack.h @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1992-1997 Jamie Zawinski +/* xscreensaver, Copyright (c) 1992-2001 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -94,5 +94,13 @@ extern XrmOptionDescRec options []; extern char *defaults []; extern void screenhack (Display*,Window); +extern void screenhack_handle_event (Display*, XEvent*); +extern void screenhack_handle_events (Display*); + +/* Be Posixly correct */ +#undef bzero +#define bzero __ERROR_use_memset_not_bzero_in_xscreensaver__ +#undef bcopy +#define bcopy __ERROR_use_memcpy_not_bcopy_in_xscreensaver__ #endif /* __SCREENHACK_H__ */