summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-08-14 02:02:40 +0000
committerJeremy Allison <jra@samba.org>1998-08-14 02:02:40 +0000
commit3cf6cc6134960c99adb702b21394a4a607cfe30a (patch)
treeb3ce0e9903f2d5ee14a82128a69ed1086509d044 /source3/locking
parent2ad339b6ff9dc1f55a8f751de56a39bb10846cdf (diff)
downloadsamba-3cf6cc6134960c99adb702b21394a4a607cfe30a.tar.gz
samba-3cf6cc6134960c99adb702b21394a4a607cfe30a.tar.bz2
samba-3cf6cc6134960c99adb702b21394a4a607cfe30a.zip
Makefile.in: Changed so that make proto will work with ldap & nisplus.
locking/locking.c: Made #ifdef'ed out functions static for Make proto. lib/util.c: Re-instated old mask_match code for UNIX filesystem checks only. Client calls use the new mask_match code. Changed the name of the old function to unix_mask_match. Jeremy. (This used to be commit b68e756ff57622c6c74f28031d4be964d7b1c9bc)
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index da5cdf46dd..c1c0659496 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -98,7 +98,7 @@ for fnum = %d, name = %s\n", blr->expire_time, fnum, Files[fnum].name ));
Return a blocking lock success SMB.
*****************************************************************************/
-void blocking_lock_reply_success(blocking_lock_record *blr)
+static void blocking_lock_reply_success(blocking_lock_record *blr)
{
extern int chain_size;
extern int chain_fnum;
@@ -137,7 +137,7 @@ void blocking_lock_reply_success(blocking_lock_record *blr)
Return a lock fail error. Undo all the locks we have obtained first.
*****************************************************************************/
-void blocking_lock_reply_error(blocking_lock_record *blr, int eclass, int32 ecode)
+static void blocking_lock_reply_error(blocking_lock_record *blr, int eclass, int32 ecode)
{
extern char *OutBuffer;
char *outbuf = OutBuffer;
@@ -177,7 +177,7 @@ void blocking_lock_reply_error(blocking_lock_record *blr, int eclass, int32 ecod
Returns True if we want to be removed from the list.
*****************************************************************************/
-BOOL blocking_lock_record_process(blocking_lock_record *blr)
+static BOOL blocking_lock_record_process(blocking_lock_record *blr)
{
char *inbuf = blr->inbuf;
unsigned char locktype = CVAL(inbuf,smb_vwv3);