diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-21 07:39:56 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-22 12:37:33 +0100 |
commit | 240762aefe1af16d56a0a1bc4880702a006fe050 (patch) | |
tree | 31b5773ee7204da61dc668cb46e09999fadb7b7e /source3 | |
parent | 7a07fcdc1e1f01483ae9d509a9d42eea4d454529 (diff) | |
download | samba-240762aefe1af16d56a0a1bc4880702a006fe050.tar.gz samba-240762aefe1af16d56a0a1bc4880702a006fe050.tar.bz2 samba-240762aefe1af16d56a0a1bc4880702a006fe050.zip |
s3:messages: finally make message_dispatch() static
metze
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/messages.h | 1 | ||||
-rw-r--r-- | source3/lib/messages_local.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/messages.h b/source3/include/messages.h index 785f116e1c..2e42fc6554 100644 --- a/source3/include/messages.h +++ b/source3/include/messages.h @@ -109,7 +109,6 @@ struct messaging_backend { NTSTATUS messaging_tdb_init(struct messaging_context *msg_ctx, TALLOC_CTX *mem_ctx, struct messaging_backend **presult); -void message_dispatch(struct messaging_context *msg_ctx); NTSTATUS messaging_ctdbd_init(struct messaging_context *msg_ctx, TALLOC_CTX *mem_ctx, diff --git a/source3/lib/messages_local.c b/source3/lib/messages_local.c index 636e70ced6..be848ac8ba 100644 --- a/source3/lib/messages_local.c +++ b/source3/lib/messages_local.c @@ -57,6 +57,7 @@ static NTSTATUS messaging_tdb_send(struct messaging_context *msg_ctx, struct server_id pid, int msg_type, const DATA_BLOB *data, struct messaging_backend *backend); +static void message_dispatch(struct messaging_context *msg_ctx); static void messaging_tdb_signal_handler(struct tevent_context *ev_ctx, struct tevent_signal *se, @@ -429,7 +430,7 @@ static NTSTATUS retrieve_all_messages(TDB_CONTEXT *msg_tdb, messages on an *odd* byte boundary. ****************************************************************************/ -void message_dispatch(struct messaging_context *msg_ctx) +static void message_dispatch(struct messaging_context *msg_ctx) { struct messaging_tdb_context *ctx = talloc_get_type(msg_ctx->local->private_data, struct messaging_tdb_context); |