Make utility function reg_deletekey_recursive_internal() static.
authorMichael Adam <obnox@samba.org>
Wed, 16 Jan 2008 23:16:58 +0000 (00:16 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 17 Jan 2008 15:25:11 +0000 (16:25 +0100)
Michael
(This used to be commit 3e661273229bcf021276cc0b71350acf8d8fed7c)

source3/registry/reg_api.c

index d1657c8cf6075fb260234b2afd2f46942566e8be..cef14e2ca10feb4fbfaa556e4986b8da58be8373 100644 (file)
@@ -715,10 +715,10 @@ WERROR reg_open_path(TALLOC_CTX *mem_ctx, const char *orig_path,
  * Note that reg_deletekey returns ACCESS_DENIED when called on a
  * key that has subkeys.
  */
-WERROR reg_deletekey_recursive_internal(TALLOC_CTX *ctx,
-                                       struct registry_key *parent,
-                                       const char *path,
-                                       bool del_key)
+static WERROR reg_deletekey_recursive_internal(TALLOC_CTX *ctx,
+                                              struct registry_key *parent,
+                                              const char *path,
+                                              bool del_key)
 {
        TALLOC_CTX *mem_ctx = NULL;
        WERROR werr = WERR_OK;