projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://apple.doit.wisc.edu/mirrors/amug/linux/linuxppc/sources/tarballs/xscreensaver...
[xscreensaver]
/
driver
/
setuid.c
diff --git
a/driver/setuid.c
b/driver/setuid.c
index 1323565b775f0151508ababc37cc1351668ccb13..83ad494e364edacfcb998ba30f578d1b62a7785b 100644
(file)
--- a/
driver/setuid.c
+++ b/
driver/setuid.c
@@
-14,8
+14,6
@@
# include "config.h"
#endif
# include "config.h"
#endif
-#ifndef NO_SETUID /* whole file */
-
#include <X11/Xlib.h> /* not used for much... */
/* This file doesn't need the Xt headers, so stub these types out... */
#include <X11/Xlib.h> /* not used for much... */
/* This file doesn't need the Xt headers, so stub these types out... */
@@
-35,7
+33,6
@@
#include <pwd.h> /* for getpwnam() and struct passwd */
#include <grp.h> /* for getgrgid() and struct group */
#include <pwd.h> /* for getpwnam() and struct passwd */
#include <grp.h> /* for getgrgid() and struct group */
-
static const char *
uid_gid_string (uid_t uid, gid_t gid)
{
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 */