summaryrefslogtreecommitdiff
path: root/source3/passdb/smbpassfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb/smbpassfile.c')
-rw-r--r--source3/passdb/smbpassfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/smbpassfile.c b/source3/passdb/smbpassfile.c
index dfd5931a72..c9d030f529 100644
--- a/source3/passdb/smbpassfile.c
+++ b/source3/passdb/smbpassfile.c
@@ -22,6 +22,7 @@
extern int DEBUGLEVEL;
static int gotalarm;
+int pw_file_lock_depth = 0;
/***************************************************************
Signal function to tell us we timed out.
@@ -63,7 +64,6 @@ BOOL do_file_lock(int fd, int waitsecs, int type)
return (ret == 0);
}
-static int pw_file_lock_depth;
/***************************************************************
Lock an fd. Abandon after waitsecs seconds.