Add two const's.
authorMichael Adam <obnox@samba.org>
Mon, 5 Nov 2007 22:23:05 +0000 (23:23 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 5 Nov 2007 22:23:35 +0000 (23:23 +0100)
Michael
(This used to be commit bf23c4ddff617dd3cd1e2d5cedb1b5c023356dc3)

source3/smbd/posix_acls.c

index b8afbb8710e89698752e0cf55de110c7d6e48ba4..7f03d7ebc574f49969b48404d1f0d06126399e8b 100644 (file)
@@ -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;