kafs: Fix OS X build (warning/error)

This commit is contained in:
Nicolas Williams
2022-02-08 18:31:27 -06:00
parent 6b39972113
commit c3ea1ac37e

View File

@@ -106,7 +106,9 @@ int _kafs_debug; /* this should be done in a better way */
#define SUN_PROC_POINT 8
static int afs_entry_point = UNKNOWN_ENTRY_POINT;
#if defined(AFS_SYSCALL) || defined(AFS_SYSCALL2) || defined(AFS_SYSCALL3) || defined(AFS_PIOCTL)
static int afs_syscalls[2];
#endif
static char *afs_ioctlpath;
static unsigned long afs_ioctlnum;