summaryrefslogtreecommitdiff
path: root/source/smbd/oplock_irix.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-06-20 00:32:32 +0000
committerJeremy Allison <jra@samba.org>2000-06-20 00:32:32 +0000
commit711f15ac230092bac000e63f99e8dfaa4a644847 (patch)
treecf2d1a08a0c5abc54c0bae3e1ab800b02f283f1d /source/smbd/oplock_irix.c
parentb737c784e34b0e1af014cb828ef37d5b6d73c3e2 (diff)
downloadsamba-711f15ac230092bac000e63f99e8dfaa4a644847.tar.gz
Fixes for IRIX kernel oplocks and systems that don't have nss.h
Jeremy.
Diffstat (limited to 'source/smbd/oplock_irix.c')
-rw-r--r--source/smbd/oplock_irix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/oplock_irix.c b/source/smbd/oplock_irix.c
index c4d528c8354..cf1cbbb0fcd 100644
--- a/source/smbd/oplock_irix.c
+++ b/source/smbd/oplock_irix.c
@@ -26,7 +26,6 @@
#if HAVE_KERNEL_OPLOCKS_IRIX
extern int DEBUGLEVEL;
-
static int oplock_pipe_write = -1;
static int oplock_pipe_read = -1;
@@ -93,6 +92,7 @@ Disabling kernel oplock support.\n", strerror(errno) ));
****************************************************************************/
static BOOL irix_oplock_receive_message(fd_set *fds, char *buffer, int buffer_len)
{
+ extern int smb_read_error;
oplock_stat_t os;
SMB_DEV_T dev;
SMB_INO_T inode;