1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r19932: Add some const

(This used to be commit be3c444c37)
This commit is contained in:
Volker Lendecke 2006-11-28 13:41:45 +00:00 committed by Gerald (Jerry) Carter
parent f1d492d11f
commit 15974508e8

View File

@ -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;