From: Gregor Beck Date: Mon, 30 Apr 2012 08:26:32 +0000 (+0200) Subject: s3:registry: compile reg_create_path() & reg_delete_path() X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=353f614c96cab858f57100daee21a112bea93291;p=mat%2Fsamba.git s3:registry: compile reg_create_path() & reg_delete_path() Signed-off-by: Michael Adam --- 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 */