1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

const fixes

metze
(This used to be commit a2beaa0823)
This commit is contained in:
Stefan Metzmacher 2004-02-02 14:46:25 +00:00
parent cc4af8d13a
commit b884eba104
2 changed files with 3 additions and 3 deletions

View File

@ -190,7 +190,7 @@ void init_rpc_session(struct event_context *ev, void *private, int fd)
setup a single rpc listener setup a single rpc listener
*/ */
static void setup_listen_rpc(struct event_context *events, static void setup_listen_rpc(struct event_context *events,
struct model_ops *model_ops, const struct model_ops *model_ops,
struct in_addr *ifip, uint32 *port, struct in_addr *ifip, uint32 *port,
struct rpc_server_context *r, struct rpc_server_context *r,
const struct dcesrv_endpoint *endpoint) const struct dcesrv_endpoint *endpoint)

View File

@ -37,7 +37,7 @@ void exit_server(struct server_context *smb, const char *reason)
setup a single listener of any type setup a single listener of any type
*/ */
static void setup_listen(struct event_context *events, static void setup_listen(struct event_context *events,
struct model_ops *model_ops, const struct model_ops *model_ops,
void (*accept_handler)(struct event_context *,struct fd_event *,time_t,uint16), void (*accept_handler)(struct event_context *,struct fd_event *,time_t,uint16),
struct in_addr *ifip, unsigned port) struct in_addr *ifip, unsigned port)
{ {
@ -72,7 +72,7 @@ static void setup_listen(struct event_context *events,
add a socket address to the list of events, one event per port add a socket address to the list of events, one event per port
*/ */
static void add_socket(struct event_context *events, static void add_socket(struct event_context *events,
struct model_ops *model_ops, const struct model_ops *model_ops,
struct in_addr *ifip) struct in_addr *ifip)
{ {
char *ptr, *tok; char *ptr, *tok;