summaryrefslogtreecommitdiff
path: root/source3/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
commita69d47640cb150fbffa12dee68ead34a5b1931bb (patch)
tree78e5beec1be8f17dc16af61a7ebec349d1f638d2 /source3/smbd/oplock_irix.c
parent5e06151e4d13f6c57559e73dcc88e03ec47c63a0 (diff)
downloadsamba-a69d47640cb150fbffa12dee68ead34a5b1931bb.tar.gz
samba-a69d47640cb150fbffa12dee68ead34a5b1931bb.tar.bz2
samba-a69d47640cb150fbffa12dee68ead34a5b1931bb.zip
Fixes for IRIX kernel oplocks and systems that don't have nss.h
Jeremy. (This used to be commit 711f15ac230092bac000e63f99e8dfaa4a644847)
Diffstat (limited to 'source3/smbd/oplock_irix.c')
-rw-r--r--source3/smbd/oplock_irix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/oplock_irix.c b/source3/smbd/oplock_irix.c
index c4d528c835..cf1cbbb0fc 100644
--- a/source3/smbd/oplock_irix.c
+++ b/source3/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;