summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2012-04-30 10:26:32 +0200
committerMichael Adam <obnox@samba.org>2012-06-26 19:57:18 +0200
commit353f614c96cab858f57100daee21a112bea93291 (patch)
tree47d1b7d21f159b3bec552c5cedecbc0e5fea8cc9 /source3/registry
parenta6c5376b978bbe58a2a632764a721ba60317f8ad (diff)
downloadsamba-353f614c96cab858f57100daee21a112bea93291.tar.gz
samba-353f614c96cab858f57100daee21a112bea93291.tar.bz2
samba-353f614c96cab858f57100daee21a112bea93291.zip
s3:registry: compile reg_create_path() & reg_delete_path()
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_api_util.c4
-rw-r--r--source3/registry/reg_api_util.h3
2 files changed, 0 insertions, 7 deletions
diff --git a/source3/registry/reg_api_util.c b/source3/registry/reg_api_util.c
index 045ad21517..a6a59bb2e3 100644
--- a/source3/registry/reg_api_util.c
+++ b/source3/registry/reg_api_util.c
@@ -82,9 +82,6 @@ WERROR reg_open_path(TALLOC_CTX *mem_ctx, const char *orig_path,
return WERR_OK;
}
-#if 0
-/* these two functions are unused. */
-
/**
* Utility function to create a registry key without opening the hive
* before. Assumes the hive already exists.
@@ -179,4 +176,3 @@ WERROR reg_delete_path(const struct security_token *token,
TALLOC_FREE(hive);
return err;
}
-#endif /* #if 0 */
diff --git a/source3/registry/reg_api_util.h b/source3/registry/reg_api_util.h
index d2d7894d78..a70fa72561 100644
--- a/source3/registry/reg_api_util.h
+++ b/source3/registry/reg_api_util.h
@@ -32,8 +32,6 @@ WERROR reg_open_path(TALLOC_CTX *mem_ctx, const char *orig_path,
uint32 desired_access, const struct security_token *token,
struct registry_key **pkey);
-#if 0
-/* currently unused */
WERROR reg_create_path(TALLOC_CTX *mem_ctx, const char *orig_path,
uint32 desired_access,
const struct security_token *token,
@@ -41,6 +39,5 @@ WERROR reg_create_path(TALLOC_CTX *mem_ctx, const char *orig_path,
struct registry_key **pkey);
WERROR reg_delete_path(const struct security_token *token,
const char *orig_path);
-#endif
#endif /* _REG_API_UTIL_H */