summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nmbd/nmbd.c2
-rw-r--r--source3/nmbd/nmbd_proto.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 95bb89bb05..63a5681e9d 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 0e62bc0d0e..59ad423f03 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 */