diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-02-02 14:46:25 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2004-02-02 14:46:25 +0000 |
commit | b884eba104c96b2050e0fab8f244e53a73018867 (patch) | |
tree | 1f887645e03948449d7ba8207cdf918381d6db41 /source4 | |
parent | cc4af8d13a7a5d657d8d70d8734b6e9d38261b7a (diff) | |
download | samba-b884eba104c96b2050e0fab8f244e53a73018867.tar.gz samba-b884eba104c96b2050e0fab8f244e53a73018867.tar.bz2 samba-b884eba104c96b2050e0fab8f244e53a73018867.zip |
const fixes
metze
(This used to be commit a2beaa0823f899ae9f49c2e624f5e10263c5c26b)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/dcerpc_tcp.c | 2 | ||||
-rw-r--r-- | source4/smbd/server.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/rpc_server/dcerpc_tcp.c b/source4/rpc_server/dcerpc_tcp.c index 69cd9cad35..869ee1cb64 100644 --- a/source4/rpc_server/dcerpc_tcp.c +++ b/source4/rpc_server/dcerpc_tcp.c @@ -190,7 +190,7 @@ void init_rpc_session(struct event_context *ev, void *private, int fd) setup a single rpc listener */ 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 rpc_server_context *r, const struct dcesrv_endpoint *endpoint) diff --git a/source4/smbd/server.c b/source4/smbd/server.c index 2ed74a8c4d..90955ff6cb 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -37,7 +37,7 @@ void exit_server(struct server_context *smb, const char *reason) setup a single listener of any type */ 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), 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 */ static void add_socket(struct event_context *events, - struct model_ops *model_ops, + const struct model_ops *model_ops, struct in_addr *ifip) { char *ptr, *tok; |