summaryrefslogtreecommitdiff
path: root/source4/lib/registry/common/registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/registry/common/registry.h')
-rw-r--r--source4/lib/registry/common/registry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/common/registry.h b/source4/lib/registry/common/registry.h
index caa0e284bf..89d0ac6b14 100644
--- a/source4/lib/registry/common/registry.h
+++ b/source4/lib/registry/common/registry.h
@@ -123,7 +123,7 @@ struct registry_ops {
};
struct reg_handle_s {
- struct registry_ops *functions;
+ const struct registry_ops *functions;
char *location;
char *credentials;
void *backend_data;
@@ -132,7 +132,7 @@ struct reg_handle_s {
struct reg_init_function_entry {
/* Function to create a member of the pdb_methods list */
- struct registry_ops *functions;
+ const struct registry_ops *functions;
struct reg_init_function_entry *prev, *next;
};