]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Add some const where possible
authorVolker Lendecke <vl@samba.org>
Thu, 18 Dec 2025 10:58:52 +0000 (11:58 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 7 Jan 2026 09:57:40 +0000 (09:57 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/smbd/posix_acls.c

index a229a96f5fc4d235c586f060ecd536e393b5357d..afcb4154f41282bba0eb96644b3c31331289fe5f 100644 (file)
@@ -133,7 +133,7 @@ struct pai_val {
  Return a uint32_t of the pai_entry principal.
 ************************************************************************/
 
-static uint32_t get_pai_entry_val(struct pai_entry *paie)
+static uint32_t get_pai_entry_val(const struct pai_entry *paie)
 {
        switch (paie->owner_type) {
                case UID_ACE: