summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-07-08 14:27:06 -0700
committerTim Prouty <tprouty@samba.org>2009-07-08 21:36:04 -0700
commit83e5ac569577566fa171b8f4288e26e5129015ab (patch)
tree6df493d9389feaffe17696bc3deb21c2e1883892 /source3/locking
parent161e182b65ceda833e0bebc48ef404cdd399f8d7 (diff)
downloadsamba-83e5ac569577566fa171b8f4288e26e5129015ab.tar.gz
samba-83e5ac569577566fa171b8f4288e26e5129015ab.tar.bz2
samba-83e5ac569577566fa171b8f4288e26e5129015ab.zip
s3: Make some arguments to (parse|unparse)_share_modes() const
Diffstat (limited to 'source3/locking')
-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 dd735be88a..cf6e02f248 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -524,7 +524,7 @@ static void print_share_mode_table(struct locking_data *data)
Get all share mode entries for a dev/inode pair.
********************************************************************/
-static bool parse_share_modes(TDB_DATA dbuf, struct share_mode_lock *lck)
+static bool parse_share_modes(const TDB_DATA dbuf, struct share_mode_lock *lck)
{
struct locking_data data;
int i;
@@ -659,7 +659,7 @@ static bool parse_share_modes(TDB_DATA dbuf, struct share_mode_lock *lck)
return True;
}
-static TDB_DATA unparse_share_modes(struct share_mode_lock *lck)
+static TDB_DATA unparse_share_modes(const struct share_mode_lock *lck)
{
TDB_DATA result;
int num_valid = 0;