X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=driver%2Fsetuid.c;h=83ad494e364edacfcb998ba30f578d1b62a7785b;hp=1323565b775f0151508ababc37cc1351668ccb13;hb=278c59e14c53fd412b734e699bd4f314f766f804;hpb=551b3de3f619c04c2dd1971ee9b3f02e270c28c9 diff --git a/driver/setuid.c b/driver/setuid.c index 1323565b..83ad494e 100644 --- a/driver/setuid.c +++ b/driver/setuid.c @@ -14,8 +14,6 @@ # include "config.h" #endif -#ifndef NO_SETUID /* whole file */ - #include /* not used for much... */ /* This file doesn't need the Xt headers, so stub these types out... */ @@ -35,7 +33,6 @@ #include /* for getpwnam() and struct passwd */ #include /* for getgrgid() and struct group */ - static const char * uid_gid_string (uid_t uid, gid_t gid) { @@ -310,10 +307,3 @@ hack_uid (saver_info *si) } } } - -#else /* !NO_SETUID */ - -void hack_uid (saver_info *si) { } -void describe_uids (saver_info *si, FILE *out) { } - -#endif /* NO_SETUID */