Fixed compiler warning.
authorTim Potter <tpot@samba.org>
Wed, 6 Dec 2000 02:52:54 +0000 (02:52 +0000)
committerTim Potter <tpot@samba.org>
Wed, 6 Dec 2000 02:52:54 +0000 (02:52 +0000)
(This used to be commit 6553f1d02792d81987dda51af76b4fc06d73a787)

source3/lib/util_sec.c

index 4306a94191dc4a404ae5270d78355da5b716ceec..068be684f36a4c00b6409479273a2aa825d56eac 100644 (file)
@@ -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) {