summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-12-06 02:52:54 +0000
committerTim Potter <tpot@samba.org>2000-12-06 02:52:54 +0000
commit4cf7fcc505ea80d6096dcc7a7bb7d85f92432c11 (patch)
tree86de40bb7aaf8b24b8b2ac2be04759648c6833ae /source3/lib
parenta58ca91245334515fbc0132ab72772bb067a8131 (diff)
downloadsamba-4cf7fcc505ea80d6096dcc7a7bb7d85f92432c11.tar.gz
samba-4cf7fcc505ea80d6096dcc7a7bb7d85f92432c11.tar.bz2
samba-4cf7fcc505ea80d6096dcc7a7bb7d85f92432c11.zip
Fixed compiler warning.
(This used to be commit 6553f1d02792d81987dda51af76b4fc06d73a787)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_sec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sec.c b/source3/lib/util_sec.c
index 4306a94191..068be684f3 100644
--- a/source3/lib/util_sec.c
+++ b/source3/lib/util_sec.c
@@ -305,6 +305,7 @@ void become_user_permanently(uid_t uid, gid_t gid)
assert_gid(gid, 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) {