From e3edd7ca3ad73ff81a6ffddfeae208b930766e86 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 3 Sep 2010 20:30:50 +1000 Subject: s3-privs Add const Signed-off-by: Andrew Tridgell --- source3/include/proto.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index f316a377dc..03196c30ed 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -639,10 +639,10 @@ NTSTATUS privilege_enumerate_accounts(struct dom_sid **sids, int *num_sids); NTSTATUS privilege_enum_sids(enum sec_privilege privilege, TALLOC_CTX *mem_ctx, struct dom_sid **sids, int *num_sids); bool grant_privilege_set(const struct dom_sid *sid, struct lsa_PrivilegeSet *set); -bool grant_privilege_by_name(struct dom_sid *sid, const char *name); -bool revoke_all_privileges( struct dom_sid *sid ); +bool grant_privilege_by_name( const struct dom_sid *sid, const char *name); +bool revoke_all_privileges( const struct dom_sid *sid ); bool revoke_privilege_set(const struct dom_sid *sid, struct lsa_PrivilegeSet *set); -bool revoke_privilege_by_name(struct dom_sid *sid, const char *name); +bool revoke_privilege_by_name(const struct dom_sid *sid, const char *name); NTSTATUS privilege_create_account(const struct dom_sid *sid ); NTSTATUS privilege_delete_account(const struct dom_sid *sid); NTSTATUS privilege_set_init(PRIVILEGE_SET *priv_set); -- cgit