summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-07-21 14:13:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:17 -0500
commite0c68d0a1d591e4285746a8af70040448752a735 (patch)
treed7edf767f718e4fe2b4362fe3f2c9c3d4758bf2f /source3/include
parent2cc356a52538e932e530643d493fb8caa279878f (diff)
downloadsamba-e0c68d0a1d591e4285746a8af70040448752a735.tar.gz
samba-e0c68d0a1d591e4285746a8af70040448752a735.tar.bz2
samba-e0c68d0a1d591e4285746a8af70040448752a735.zip
r17177: Get rid of a global variable by adding a private data pointer to
share_mode_forall(). Volker (This used to be commit f97f6cedffdc4d10afcac90a163b93a801acf514)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/locking.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/include/locking.h b/source3/include/locking.h
index 8eabb305f7..9e70411fa6 100644
--- a/source3/include/locking.h
+++ b/source3/include/locking.h
@@ -67,12 +67,6 @@ struct byte_range_lock {
enum brl_flavour lock_flav, \
br_off start, br_off size)
-#define LOCKING_FN_CAST() \
- void (*)(struct share_mode_entry *, const char *, const char *)
-
-#define LOCKING_FN(fn) \
- void (*fn)(struct share_mode_entry *, const char *, const char *)
-
/* Internal structure in brlock.tdb.
The data in brlock records is an unsorted linear array of these
records. It is unnecessary to store the count as tdb provides the