summaryrefslogtreecommitdiff
path: root/libgpo/gpo_util.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-12-19 22:23:44 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-01-07 18:52:42 +0100
commit8e5f4eab764918353cfb17fddb6abe6a2b737f6c (patch)
treea828acb243ac22f7310b4dafb787f4a3ff5f6e87 /libgpo/gpo_util.c
parentf1685427ed26da39e3d4ad5be7406c61d7cd1179 (diff)
downloadsamba-8e5f4eab764918353cfb17fddb6abe6a2b737f6c.tar.gz
libgpo: apply some const.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Jan 7 18:52:42 CET 2014 on sn-devel-104
Diffstat (limited to 'libgpo/gpo_util.c')
-rw-r--r--libgpo/gpo_util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libgpo/gpo_util.c b/libgpo/gpo_util.c
index 05288c63cb1..b846d3d8649 100644
--- a/libgpo/gpo_util.c
+++ b/libgpo/gpo_util.c
@@ -477,7 +477,7 @@ NTSTATUS check_refresh_gpo(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
const char *cache_dir,
uint32_t flags,
- struct GROUP_POLICY_OBJECT *gpo)
+ const struct GROUP_POLICY_OBJECT *gpo)
{
NTSTATUS result;
char *server = NULL;
@@ -563,10 +563,10 @@ NTSTATUS check_refresh_gpo_list(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
const char *cache_dir,
uint32_t flags,
- struct GROUP_POLICY_OBJECT *gpo_list)
+ const struct GROUP_POLICY_OBJECT *gpo_list)
{
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
- struct GROUP_POLICY_OBJECT *gpo;
+ const struct GROUP_POLICY_OBJECT *gpo;
if (!gpo_list) {
return NT_STATUS_INVALID_PARAMETER;
@@ -593,7 +593,7 @@ NTSTATUS check_refresh_gpo_list(ADS_STRUCT *ads,
NTSTATUS gpo_get_unix_path(TALLOC_CTX *mem_ctx,
const char *cache_dir,
- struct GROUP_POLICY_OBJECT *gpo,
+ const struct GROUP_POLICY_OBJECT *gpo,
char **unix_path)
{
char *server, *share, *nt_path;