summaryrefslogtreecommitdiffstats
path: root/libgpo
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-12-18 17:59:38 +0100
committerAndreas Schneider <asn@samba.org>2014-01-07 16:59:38 +0100
commit3ef7919e3a0c42cb1fef23d8ec3df945a97d1263 (patch)
treeef93de2bd69ead05a08d203e454e404f9f7a6f64 /libgpo
parent0a15360f359e1b5780e109646502f044336b212f (diff)
downloadsamba-3ef7919e3a0c42cb1fef23d8ec3df945a97d1263.tar.gz
samba-3ef7919e3a0c42cb1fef23d8ec3df945a97d1263.tar.xz
samba-3ef7919e3a0c42cb1fef23d8ec3df945a97d1263.zip
libgpo: make gpo_process_a_gpo() static to the util code.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'libgpo')
-rw-r--r--libgpo/gpo.h6
-rw-r--r--libgpo/gpo_util.c12
2 files changed, 6 insertions, 12 deletions
diff --git a/libgpo/gpo.h b/libgpo/gpo.h
index 997dbc0b7a1..9fcb2307767 100644
--- a/libgpo/gpo.h
+++ b/libgpo/gpo.h
@@ -226,12 +226,6 @@ void dump_gpo(const struct GROUP_POLICY_OBJECT *gpo,
void dump_gpo_list(const struct GROUP_POLICY_OBJECT *gpo_list,
int debuglevel);
void dump_gplink(const struct GP_LINK *gp_link);
-NTSTATUS gpo_process_a_gpo(TALLOC_CTX *mem_ctx,
- const struct security_token *token,
- struct registry_key *root_key,
- struct GROUP_POLICY_OBJECT *gpo,
- const char *extension_guid_filter,
- uint32_t flags);
NTSTATUS gpo_process_gpo_list(TALLOC_CTX *mem_ctx,
const struct security_token *token,
struct GROUP_POLICY_OBJECT *gpo_list,
diff --git a/libgpo/gpo_util.c b/libgpo/gpo_util.c
index 9cba41099bb..13f271de9f9 100644
--- a/libgpo/gpo_util.c
+++ b/libgpo/gpo_util.c
@@ -425,12 +425,12 @@ static bool gpo_get_gp_ext_from_gpo(TALLOC_CTX *mem_ctx,
/****************************************************************
****************************************************************/
-NTSTATUS gpo_process_a_gpo(TALLOC_CTX *mem_ctx,
- const struct security_token *token,
- struct registry_key *root_key,
- struct GROUP_POLICY_OBJECT *gpo,
- const char *extension_guid_filter,
- uint32_t flags)
+static NTSTATUS gpo_process_a_gpo(TALLOC_CTX *mem_ctx,
+ const struct security_token *token,
+ struct registry_key *root_key,
+ struct GROUP_POLICY_OBJECT *gpo,
+ const char *extension_guid_filter,
+ uint32_t flags)
{
struct GP_EXT *gp_ext = NULL;
int i;