-/* xscreensaver, Copyright (c) 1993 Jamie Zawinski <jwz@lucid.com>
+/* xscreensaver, Copyright (c) 1993, 1995 Jamie Zawinski <jwz@mcom.com>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
# include <unistd.h>
#endif
+#include <stdio.h>
+
#if __STDC__
# define P(x)x
#else
# define P(x)()
+# ifndef const
+# define const /**/
+# endif
#endif
#ifdef NO_MOTIF
extern Bool verbose_p;
-extern void initialize_screensaver_window P(());
+extern FILE *real_stderr;
+extern FILE *real_stdout;
+
+extern void initialize_screensaver_window P((void));
extern void raise_window P((Bool inhibit_fade, Bool between_hacks_p));
-extern void blank_screen P(());
+extern void blank_screen P((void));
extern void unblank_screen P((void));
extern void restart_process P((void));
extern void blacken_colormap P((Display *, Colormap));
extern int BadWindow_ehandler P((Display *dpy, XErrorEvent *error));
+
+extern char *timestring P((void));
+extern Bool window_exists_p P((Display *dpy, Window window));