summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-11-05 23:23:05 +0100
committerMichael Adam <obnox@samba.org>2007-11-05 23:23:35 +0100
commit3fd2d4ed856bc4fa053e1c03926ca71bb4ab1a9f (patch)
tree46f1167752f1f693edbe0f0472877cb72a1e78e1
parent36441da4240f3e3a296eed65f0796b25b7b05a3a (diff)
downloadsamba-3fd2d4ed856bc4fa053e1c03926ca71bb4ab1a9f.tar.gz
samba-3fd2d4ed856bc4fa053e1c03926ca71bb4ab1a9f.tar.bz2
samba-3fd2d4ed856bc4fa053e1c03926ca71bb4ab1a9f.zip
Add two const's.
Michael (This used to be commit bf23c4ddff617dd3cd1e2d5cedb1b5c023356dc3)
-rw-r--r--source3/smbd/posix_acls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index b8afbb8710..7f03d7ebc5 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -1081,7 +1081,7 @@ static bool ensure_canon_entry_valid(canon_ace **pp_ace,
const files_struct *fsp,
const DOM_SID *pfile_owner_sid,
const DOM_SID *pfile_grp_sid,
- SMB_STRUCT_STAT *pst,
+ const SMB_STRUCT_STAT *pst,
bool setting_acl)
{
canon_ace *pace;
@@ -2066,7 +2066,7 @@ static bool unpack_canon_ace(files_struct *fsp,
But NT cannot display this in their ACL editor !
********************************************************************************/
-static void arrange_posix_perms( char *filename, canon_ace **pp_list_head)
+static void arrange_posix_perms(const char *filename, canon_ace **pp_list_head)
{
canon_ace *list_head = *pp_list_head;
canon_ace *owner_ace = NULL;