(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:
@@ -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).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -284,8 +284,10 @@ try_two (int syscall_pioctl, int syscall_setpag)
|
|||||||
int
|
int
|
||||||
k_hasafs(void)
|
k_hasafs(void)
|
||||||
{
|
{
|
||||||
int saved_errno;
|
#if !defined(NO_AFS) && defined(SIGSYS)
|
||||||
RETSIGTYPE (*saved_func)();
|
RETSIGTYPE (*saved_func)();
|
||||||
|
#endif
|
||||||
|
int saved_errno;
|
||||||
char *env = getenv ("AFS_SYSCALL");
|
char *env = getenv ("AFS_SYSCALL");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user