diff options
-rw-r--r-- | source4/param/loadparm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index ae29f69fea..0a616b5eb4 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -519,7 +519,7 @@ struct loadparm_context { bool refuse_free; bool global; /* Is this the global context, which may set * global variables such as debug level etc? */ - struct loadparm_s3_context *s3_fns; + const struct loadparm_s3_context *s3_fns; }; @@ -2610,7 +2610,7 @@ struct loadparm_context *loadparm_init_global(bool load_default) * Initialise the global parameter structure. */ struct loadparm_context *loadparm_init_s3(TALLOC_CTX *mem_ctx, - struct loadparm_s3_context *s3_fns) + const struct loadparm_s3_context *s3_fns) { struct loadparm_context *loadparm_context = loadparm_init(mem_ctx); if (!loadparm_context) { |