summaryrefslogtreecommitdiff
path: root/source3/locking/locking.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-14 08:01:44 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-14 08:01:44 +0000
commit7bc1cc7e07991641d436b2c8a35b52663d4c5c05 (patch)
tree49b7da4ce534188c8a7c3ed36ff187434ae6eb5a /source3/locking/locking.c
parent82af221e4a7e456f580f16bc5d2fd904fc018c96 (diff)
downloadsamba-7bc1cc7e07991641d436b2c8a35b52663d4c5c05.tar.gz
samba-7bc1cc7e07991641d436b2c8a35b52663d4c5c05.tar.bz2
samba-7bc1cc7e07991641d436b2c8a35b52663d4c5c05.zip
damn, Solaris already has a "enum lock_type"
changed it to "enum brl_type" (This used to be commit 6b9ee7662c7afa70f6b20889e6b0ae1dcd677f9f)
Diffstat (limited to 'source3/locking/locking.c')
-rw-r--r--source3/locking/locking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 350057d1a7..5348659917 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -58,7 +58,7 @@ void locking_close_file(files_struct *fsp)
****************************************************************************/
BOOL is_locked(files_struct *fsp,connection_struct *conn,
SMB_OFF_T count,SMB_OFF_T offset,
- enum lock_type lock_type)
+ enum brl_type lock_type)
{
int snum = SNUM(conn);
@@ -78,7 +78,7 @@ BOOL is_locked(files_struct *fsp,connection_struct *conn,
Utility function called by locking requests.
****************************************************************************/
BOOL do_lock(files_struct *fsp,connection_struct *conn,
- SMB_OFF_T count,SMB_OFF_T offset,enum lock_type lock_type,
+ SMB_OFF_T count,SMB_OFF_T offset,enum brl_type lock_type,
int *eclass,uint32 *ecode)
{
BOOL ok = False;