summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/reg_objects.h5
-rw-r--r--source3/registry/reg_init_full.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/include/reg_objects.h b/source3/include/reg_objects.h
index 00ba68bf5c..770eed64c2 100644
--- a/source3/include/reg_objects.h
+++ b/source3/include/reg_objects.h
@@ -145,11 +145,6 @@ struct registry_ops {
bool (*values_need_update)(struct regval_ctr *values);
};
-struct registry_hook {
- const char *keyname; /* full path to name of key */
- struct registry_ops *ops; /* registry function hooks */
-};
-
/* structure to store the registry handles */
diff --git a/source3/registry/reg_init_full.c b/source3/registry/reg_init_full.c
index 265fed30ca..8c012e89ee 100644
--- a/source3/registry/reg_init_full.c
+++ b/source3/registry/reg_init_full.c
@@ -45,6 +45,11 @@ extern struct registry_ops regdb_ops; /* these are the default */
/* array of registry_hook's which are read into a tree for easy access */
/* #define REG_TDB_ONLY 1 */
+struct registry_hook {
+ const char *keyname; /* full path to name of key */
+ struct registry_ops *ops; /* registry function hooks */
+};
+
struct registry_hook reg_hooks[] = {
#ifndef REG_TDB_ONLY
{ KEY_PRINTING, &printing_ops },