From: Volker Lendecke Date: Tue, 13 Dec 2011 15:51:53 +0000 (+0100) Subject: s3: Make nmbd_messaging_context static X-Git-Url: http://git.samba.org/?p=kai%2Fsamba.git;a=commitdiff_plain;h=096ede362370b7e55a77cedfa40efc2a8a03fc17 s3: Make nmbd_messaging_context static --- diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 95bb89bb05d..63a5681e9d3 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -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)) { diff --git a/source3/nmbd/nmbd_proto.h b/source3/nmbd/nmbd_proto.h index 0e62bc0d0ea..59ad423f035 100644 --- a/source3/nmbd/nmbd_proto.h +++ b/source3/nmbd/nmbd_proto.h @@ -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 */