The branch, master has been updated via 7d2d902 async_rec/async_sock.c - add an additional "const" via 9e7de42 ndrdump - make "in_pipes" and "out_pipes" const from 41051fd lib/util: Merge basic string length and comparison functions
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 7d2d902d51e05008cf29ef510082c5fd3f213e46 Author: Matthias Dieter Wallnöfer <m...@samba.org> Date: Wed Mar 23 08:40:49 2011 +0100 async_rec/async_sock.c - add an additional "const" In order to suppress a build warning. Acked-by: Volker and Metze Autobuild-User: Matthias Dieter Wallnöfer <m...@samba.org> Autobuild-Date: Wed Mar 23 10:26:23 CET 2011 on sn-devel-104 commit 9e7de4276586bb369819a689eb9b35820a1a8145 Author: Matthias Dieter Wallnöfer <m...@samba.org> Date: Wed Mar 23 08:36:52 2011 +0100 ndrdump - make "in_pipes" and "out_pipes" const In order to suppress a build warning. ----------------------------------------------------------------------- Summary of changes: lib/async_req/async_sock.c | 3 ++- librpc/tools/ndrdump.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/lib/async_req/async_sock.c b/lib/async_req/async_sock.c index 7ea66f5..86053d9 100644 --- a/lib/async_req/async_sock.c +++ b/lib/async_req/async_sock.c @@ -104,7 +104,8 @@ static void sendto_handler(struct tevent_context *ev, tevent_req_data(req, struct sendto_state); state->sent = sendto(state->fd, state->buf, state->len, state->flags, - (struct sockaddr *)state->addr, state->addr_len); + (const struct sockaddr *)state->addr, + state->addr_len); if ((state->sent == -1) && (errno == EINTR)) { /* retry */ return; diff --git a/librpc/tools/ndrdump.c b/librpc/tools/ndrdump.c index 284dbce..01618d5 100644 --- a/librpc/tools/ndrdump.c +++ b/librpc/tools/ndrdump.c @@ -219,8 +219,8 @@ static NTSTATUS ndrdump_pull_and_print_pipes(const char *function, POPT_COMMON_VERSION { NULL } }; - struct ndr_interface_call_pipes *in_pipes = NULL; - struct ndr_interface_call_pipes *out_pipes = NULL; + const struct ndr_interface_call_pipes *in_pipes = NULL; + const struct ndr_interface_call_pipes *out_pipes = NULL; ndr_table_init(); -- Samba Shared Repository