summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_util_internal.c10
-rw-r--r--source3/registry/reg_util_internal.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/source3/registry/reg_util_internal.c b/source3/registry/reg_util_internal.c
index 4cf8e2886b..47e2ce576f 100644
--- a/source3/registry/reg_util_internal.c
+++ b/source3/registry/reg_util_internal.c
@@ -120,16 +120,6 @@ char *normalize_reg_path(TALLOC_CTX *ctx, const char *keyname )
return nkeyname;
}
-/**
- * normalize ther registry path in place.
- */
-void normalize_dbkey(char *key)
-{
- size_t len = strlen(key);
- string_sub(key, "\\", "/", len+1);
- strupper_m(key);
-}
-
/**********************************************************************
move to next non-delimter character
*********************************************************************/
diff --git a/source3/registry/reg_util_internal.h b/source3/registry/reg_util_internal.h
index 886e58cda1..0cb370e59d 100644
--- a/source3/registry/reg_util_internal.h
+++ b/source3/registry/reg_util_internal.h
@@ -23,7 +23,6 @@
bool reg_split_path(char *path, char **base, char **new_path);
bool reg_split_key(char *path, char **base, char **key);
char *normalize_reg_path(TALLOC_CTX *ctx, const char *keyname );
-void normalize_dbkey(char *key);
char *reg_remaining_path(TALLOC_CTX *ctx, const char *key);
#endif /* _REG_UTIL_H */