summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-04-13 03:27:51 +0000
committerLuke Leighton <lkcl@samba.org>2000-04-13 03:27:51 +0000
commit948414b0fd2e40125d2ed1c9a9b701e2e0bba8ce (patch)
tree931fc147346a4a8370fdc8f576428082bc311195
parentf4192476dc914f9b75c66c09249b58f0143e0ecc (diff)
downloadsamba-948414b0fd2e40125d2ed1c9a9b701e2e0bba8ce.tar.gz
samba-948414b0fd2e40125d2ed1c9a9b701e2e0bba8ce.tar.xz
samba-948414b0fd2e40125d2ed1c9a9b701e2e0bba8ce.zip
#ifdef AUTOCONF moved to avoid compile warning.
-rw-r--r--source/lib/util_sec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util_sec.c b/source/lib/util_sec.c
index 4306a94191d..f88d3259853 100644
--- a/source/lib/util_sec.c
+++ b/source/lib/util_sec.c
@@ -306,6 +306,7 @@ void become_user_permanently(uid_t uid, gid_t gid)
}
+#ifdef AUTOCONF_TEST
/****************************************************************************
this function just checks that we don't get ENOSYS back
****************************************************************************/
@@ -334,7 +335,6 @@ static int have_syscall(void)
return 0;
}
-#ifdef AUTOCONF_TEST
main()
{
if (getuid() != 0) {