2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

missing (const)

This commit is contained in:
Mark Andrews
2017-09-04 18:22:52 +10:00
parent a5dc1bc395
commit 10076239f6

View File

@@ -439,7 +439,7 @@ sock_dump(isc_socket_t *sock) {
}
static void
socket_log(int lineno, isc_socket_t *sock, isc_sockaddr_t *address,
socket_log(int lineno, isc_socket_t *sock, const isc_sockaddr_t *address,
isc_logcategory_t *category, isc_logmodule_t *module, int level,
isc_msgcat_t *msgcat, int msgset, int message,
const char *fmt, ...) ISC_FORMAT_PRINTF(10, 11);
@@ -856,7 +856,7 @@ manager_log(isc_socketmgr_t *sockmgr, isc_logcategory_t *category,
}
static void
socket_log(int lineno, isc_socket_t *sock, isc_sockaddr_t *address,
socket_log(int lineno, isc_socket_t *sock, const isc_sockaddr_t *address,
isc_logcategory_t *category, isc_logmodule_t *module, int level,
isc_msgcat_t *msgcat, int msgset, int message,
const char *fmt, ...)
@@ -3007,7 +3007,7 @@ isc__socket_recv2(isc_socket_t *sock, isc_region_t *region,
*/
static isc_result_t
socket_send(isc_socket_t *sock, isc_socketevent_t *dev, isc_task_t *task,
isc_sockaddr_t *address, struct in6_pktinfo *pktinfo,
const isc_sockaddr_t *address, struct in6_pktinfo *pktinfo,
unsigned int flags)
{
int io_state;
@@ -3199,9 +3199,8 @@ isc__socket_sendtov2(isc_socket_t *sock, isc_bufferlist_t *buflist,
}
isc_result_t
isc__socket_sendto2(isc_socket_t *sock, isc_region_t *region,
isc_task_t *task,
const isc_sockaddr_t *address, struct in6_pktinfo *pktinfo,
isc__socket_sendto2(isc_socket_t *sock, isc_region_t *region, isc_task_t *task,
const isc_sockaddr_t *address, struct in6_pktinfo *pktinfo,
isc_socketevent_t *event, unsigned int flags)
{
isc_result_t ret;