summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
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 */