summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/reg_objects.h4
-rw-r--r--source3/registry/reg_init_full.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/include/reg_objects.h b/source3/include/reg_objects.h
index a3f9c9c591..5a4f516402 100644
--- a/source3/include/reg_objects.h
+++ b/source3/include/reg_objects.h
@@ -145,10 +145,10 @@ typedef struct {
bool (*values_need_update)(struct regval_ctr *values);
} REGISTRY_OPS;
-typedef struct {
+struct registry_hook {
const char *keyname; /* full path to name of key */
REGISTRY_OPS *ops; /* registry function hooks */
-} REGISTRY_HOOK;
+};
/* structure to store the registry handles */
diff --git a/source3/registry/reg_init_full.c b/source3/registry/reg_init_full.c
index b5a06f2582..206dcd140b 100644
--- a/source3/registry/reg_init_full.c
+++ b/source3/registry/reg_init_full.c
@@ -37,10 +37,10 @@ extern REGISTRY_OPS current_version_reg_ops;
extern REGISTRY_OPS perflib_reg_ops;
extern REGISTRY_OPS regdb_ops; /* these are the default */
-/* array of REGISTRY_HOOK's which are read into a tree for easy access */
+/* array of registry_hook's which are read into a tree for easy access */
/* #define REG_TDB_ONLY 1 */
-REGISTRY_HOOK reg_hooks[] = {
+struct registry_hook reg_hooks[] = {
#ifndef REG_TDB_ONLY
{ KEY_PRINTING, &printing_ops },
{ KEY_PRINTING_2K, &printing_ops },
@@ -58,7 +58,7 @@ REGISTRY_HOOK reg_hooks[] = {
};
/***********************************************************************
- Open the registry database and initialize the REGISTRY_HOOK cache
+ Open the registry database and initialize the registry_hook cache
with all available backens.
***********************************************************************/