From 948414b0fd2e40125d2ed1c9a9b701e2e0bba8ce Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Thu, 13 Apr 2000 03:27:51 +0000 Subject: #ifdef AUTOCONF moved to avoid compile warning. --- source/lib/util_sec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit