smbd: Make messaging_send_to_children static
authorChristof Schmitt <cs@samba.org>
Thu, 26 Jun 2014 21:51:23 +0000 (14:51 -0700)
committerVolker Lendecke <vl@samba.org>
Mon, 30 Jun 2014 15:20:00 +0000 (17:20 +0200)
This function is only used in server.c

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Jun 30 17:20:00 CEST 2014 on sn-devel-104

source3/smbd/proto.h
source3/smbd/server.c

index b25ef7b159f5e56ac4dfe4831194b1127f7f994d..ea2f022de1d64c9faabef87952a42ab0dca311af 100644 (file)
@@ -961,8 +961,6 @@ void delete_and_reload_printers(struct tevent_context *ev,
 bool reload_services(struct smbd_server_connection *sconn,
                     bool (*snumused) (struct smbd_server_connection *, int),
                     bool test);
-NTSTATUS messaging_send_to_children(struct messaging_context *msg_ctx,
-                                   uint32_t msg_type, DATA_BLOB* data);
 
 /* The following definitions come from smbd/server_exit.c  */
 
index 0b54bc7064599e415f9a71b2bbb5abccefb95f0f..bafd493f11c46a3aa63829ab415a8230ee2f453d 100644 (file)
@@ -194,8 +194,8 @@ static void msg_inject_fault(struct messaging_context *msg,
 }
 #endif /* DEVELOPER */
 
-NTSTATUS messaging_send_to_children(struct messaging_context *msg_ctx,
-                                   uint32_t msg_type, DATA_BLOB* data)
+static NTSTATUS messaging_send_to_children(struct messaging_context *msg_ctx,
+                                          uint32_t msg_type, DATA_BLOB* data)
 {
        NTSTATUS status;
        struct smbd_parent_context *parent = am_parent;