(k_hasafs): ifdef a variable properly

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6162 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-05-08 02:24:32 +00:00
parent c66a8da53b
commit 46533b9069

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 1996, 1997, 1998 Kungliga Tekniska H<>gskolan
* Copyright (c) 1995, 1996, 1997, 1998, 1999 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -284,8 +284,10 @@ try_two (int syscall_pioctl, int syscall_setpag)
int
k_hasafs(void)
{
int saved_errno;
#if !defined(NO_AFS) && defined(SIGSYS)
RETSIGTYPE (*saved_func)();
#endif
int saved_errno;
char *env = getenv ("AFS_SYSCALL");
/*