s3: Make nmbd_messaging_context static
authorVolker Lendecke <vl@samba.org>
Tue, 13 Dec 2011 15:51:53 +0000 (16:51 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 14 Dec 2011 16:34:20 +0000 (17:34 +0100)
source3/nmbd/nmbd.c
source3/nmbd/nmbd_proto.h

index 95bb89bb05ddd9c2dd028541fb68363f65bd2eb4..63a5681e9d3db9a24f0e6a7457d5144102e3a0f9 100644 (file)
@@ -47,7 +47,7 @@ struct event_context *nmbd_event_context(void)
        return server_event_context();
 }
 
-struct messaging_context *nmbd_messaging_context(void)
+static struct messaging_context *nmbd_messaging_context(void)
 {
        struct messaging_context *msg_ctx = server_messaging_context();
        if (likely(msg_ctx != NULL)) {
index 0e62bc0d0ea80d0b0eb08b6fb00728dbbb5c0b77..59ad423f03508fb4a2fc0071c504418780995cb3 100644 (file)
@@ -37,7 +37,6 @@ void kill_async_dns_child(void);
 /* The following definitions come from nmbd/nmbd.c  */
 
 struct event_context *nmbd_event_context(void);
-struct messaging_context *nmbd_messaging_context(void);
 
 /* The following definitions come from nmbd/nmbd_become_dmb.c  */