summaryrefslogtreecommitdiff
path: root/source4/smbd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd/server.c')
-rw-r--r--source4/smbd/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 67bf07c7f8..2ed74a8c4d 100644
--- a/source4/smbd/server.c
+++ b/source4/smbd/server.c
@@ -91,7 +91,7 @@ static void add_socket(struct event_context *events,
Open the socket communication.
****************************************************************************/
static void open_sockets_smbd(struct event_context *events,
- struct model_ops *model_ops)
+ const struct model_ops *model_ops)
{
if (lp_interfaces() && lp_bind_interfaces_only()) {
int num_interfaces = iface_count();
@@ -194,7 +194,7 @@ static BOOL init_structs(void)
static void setup_process_model(struct event_context *events,
const char *model)
{
- struct model_ops *ops;
+ const struct model_ops *ops;
process_model_init();