From 15974508e8916e325563202f5fa7fad4f8514340 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 28 Nov 2006 13:41:45 +0000 Subject: r19932: Add some const (This used to be commit be3c444c37dc6f0ab91a2815a2efe6f7c38818c5) --- source3/lib/privileges.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/lib/privileges.c') diff --git a/source3/lib/privileges.c b/source3/lib/privileges.c index 344d636f5e..32535394c7 100644 --- a/source3/lib/privileges.c +++ b/source3/lib/privileges.c @@ -309,7 +309,8 @@ static BOOL set_privileges( const DOM_SID *sid, SE_PRIV *mask ) check if the privilege is in the privilege list ****************************************************************************/ -static BOOL is_privilege_assigned( SE_PRIV *privileges, const SE_PRIV *check ) +static BOOL is_privilege_assigned( const SE_PRIV *privileges, + const SE_PRIV *check ) { SE_PRIV p1, p2; @@ -740,7 +741,7 @@ NTSTATUS dup_luid_attr(TALLOC_CTX *mem_ctx, LUID_ATTR **new_la, LUID_ATTR *old_l at a time here. *****************************************************************************/ -BOOL user_has_privileges(NT_USER_TOKEN *token, const SE_PRIV *privilege) +BOOL user_has_privileges(const NT_USER_TOKEN *token, const SE_PRIV *privilege) { if ( !token ) return False; -- cgit