summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-12-13 16:51:53 +0100
committerVolker Lendecke <vl@samba.org>2011-12-14 17:34:20 +0100
commit096ede362370b7e55a77cedfa40efc2a8a03fc17 (patch)
tree1277483b0878310e5791ab918f46a5945231774d /source3/nmbd
parenta2d1b3b144633ed7ce37492874d691fc0244d7aa (diff)
downloadsamba-096ede362370b7e55a77cedfa40efc2a8a03fc17.tar.gz
samba-096ede362370b7e55a77cedfa40efc2a8a03fc17.tar.bz2
samba-096ede362370b7e55a77cedfa40efc2a8a03fc17.zip
s3: Make nmbd_messaging_context static
Diffstat (limited to 'source3/nmbd')
-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 */