X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=driver%2Fpasswd-helper.c;h=7d41d6285c9174559ff491cb13ae53e4e928a15e;hp=7b23f05ab8daca018cd2f4036c0330f99da17df9;hb=3f438031d610c7e15fd33876a879b97e290e05fb;hpb=447db08c956099b3b183886729108bf5b364c4b8 diff --git a/driver/passwd-helper.c b/driver/passwd-helper.c index 7b23f05a..7d41d628 100644 --- a/driver/passwd-helper.c +++ b/driver/passwd-helper.c @@ -1,6 +1,6 @@ /* passwd-helper.c --- verifying typed passwords with external helper program * written by Olaf Kirch - * xscreensaver, Copyright (c) 1993-2004 Jamie Zawinski + * xscreensaver, Copyright (c) 1993-2005 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 @@ -35,14 +35,23 @@ #ifndef NO_LOCKING /* whole file */ +#include /* not used for much... */ + +/* This file doesn't need the Xt headers, so stub these types out... */ +#undef XtPointer +#define XtAppContext void* +#define XrmDatabase void* +#define XtIntervalId void* +#define XtPointer void* +#define Widget void* + +#include "xscreensaver.h" + #include #ifdef HAVE_UNISTD_H # include #endif -extern char *blurb(void); - - #include #include #include @@ -51,9 +60,6 @@ extern char *blurb(void); #include -extern void block_sigchld (void); -extern void unblock_sigchld (void); - static int ext_run (const char *user, const char *typed_passwd, int verbose_p) {