diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-06-08 15:52:42 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-06-09 12:40:09 +0200 |
commit | 6c3f35bafef0c9c94b851f13de8100b35f407be0 (patch) | |
tree | 33ac7a9637f7a63ac67fae490d0deb475d9c8017 /source4/param | |
parent | 16b1c77644217796f70a3a0bf1d95c245f9ee2d9 (diff) | |
download | samba-6c3f35bafef0c9c94b851f13de8100b35f407be0.tar.gz samba-6c3f35bafef0c9c94b851f13de8100b35f407be0.tar.bz2 samba-6c3f35bafef0c9c94b851f13de8100b35f407be0.zip |
s4-param add const to loadparm_init_s3 s3_fns
Diffstat (limited to 'source4/param')
-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) { |