Merge branch 'master' of git://git.samba.org/samba
[kai/samba.git] / source4 / smbd / process_model.c
index 704e6cc7a2f19401c4cf42e7c4efe9c57fa944ed..e3ea4dbf39d74ea91d4ba002fc0116bad1ac8c71 100644 (file)
 #include "smbd/process_model.h"
 #include "param/param.h"
 
+static const struct model_ops *process_model_byname(const char *name);
+
 /*
   setup the events for the chosen process model
 */
-_PUBLIC_ const struct model_ops *process_model_startup(struct event_context *ev, const char *model)
+_PUBLIC_ const struct model_ops *process_model_startup(struct tevent_context *ev, const char *model)
 {
        const struct model_ops *ops;
 
@@ -99,7 +101,7 @@ _PUBLIC_ NTSTATUS process_model_init(struct loadparm_context *lp_ctx)
 /*
   return the operations structure for a named backend of the specified type
 */
-_PUBLIC_ const struct model_ops *process_model_byname(const char *name)
+static const struct model_ops *process_model_byname(const char *name)
 {
        int i;