summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-06-24 15:32:46 +0200
committerMichael Adam <obnox@samba.org>2010-06-24 15:36:21 +0200
commit2a0340baa35163d04537b0606f58ab77a1d39108 (patch)
treec94e0680c37cc91e853894a258601bed897f3aae
parent5cac4e648c635f4f3a46a5878827414a2cb80366 (diff)
downloadsamba-2a0340baa35163d04537b0606f58ab77a1d39108.tar.gz
samba-2a0340baa35163d04537b0606f58ab77a1d39108.tar.bz2
samba-2a0340baa35163d04537b0606f58ab77a1d39108.zip
s3:registry: remove unused function normalize_dbkey()
-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 */