summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_elections.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-19 21:53:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:15 -0500
commit4d5f58c2b945e7a2263ba42749f73c7ba72ab3c7 (patch)
treeee3f89f5d27a23d8c9e18383f7fc6d38f8b20554 /source3/nmbd/nmbd_elections.c
parent01a7017d7b0e0cbc3b0923c43b7fe3f0b01aac0b (diff)
downloadsamba-4d5f58c2b945e7a2263ba42749f73c7ba72ab3c7.tar.gz
samba-4d5f58c2b945e7a2263ba42749f73c7ba72ab3c7.tar.bz2
samba-4d5f58c2b945e7a2263ba42749f73c7ba72ab3c7.zip
r23015: Make message_(de)register static to messages.c
(This used to be commit a8082a3c7c3d1e68c27fc3bf42f3d44402cc6f9f)
Diffstat (limited to 'source3/nmbd/nmbd_elections.c')
-rw-r--r--source3/nmbd/nmbd_elections.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_elections.c b/source3/nmbd/nmbd_elections.c
index a053d0803b..bd4308674c 100644
--- a/source3/nmbd/nmbd_elections.c
+++ b/source3/nmbd/nmbd_elections.c
@@ -378,8 +378,11 @@ yet registered on subnet %s\n", nmb_namestr(&nmbname), subrec->subnet_name ));
Process a internal Samba message forcing an election.
***************************************************************************/
-void nmbd_message_election(int msg_type, struct server_id src,
- void *buf, size_t len, void *private_data)
+void nmbd_message_election(struct messaging_context *msg,
+ void *private_data,
+ uint32_t msg_type,
+ struct server_id server_id,
+ DATA_BLOB *data)
{
struct subnet_record *subrec;