Commit 28e509b1 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

const correctness

parent 28d8b411
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: netaddr.h,v 1.18 2001/03/26 21:33:06 bwelling Exp $ */
/* $Id: netaddr.h,v 1.19 2002/02/11 18:19:25 gson Exp $ */
#ifndef ISC_NETADDR_H
#define ISC_NETADDR_H 1
......@@ -72,7 +72,7 @@ isc_netaddr_totext(const isc_netaddr_t *netaddr, isc_buffer_t *target);
*/
void
isc_netaddr_format(isc_netaddr_t *na, char *array, unsigned int size);
isc_netaddr_format(const isc_netaddr_t *na, char *array, unsigned int size);
/*
* Format a human-readable representation of the network address '*na'
* into the character array 'array', which is of size 'size'.
......
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: sockaddr.h,v 1.36 2001/10/02 06:06:13 marka Exp $ */
/* $Id: sockaddr.h,v 1.37 2002/02/11 18:19:26 gson Exp $ */
#ifndef ISC_SOCKADDR_H
#define ISC_SOCKADDR_H 1
......@@ -160,7 +160,7 @@ isc_sockaddr_totext(const isc_sockaddr_t *sockaddr, isc_buffer_t *target);
*/
void
isc_sockaddr_format(isc_sockaddr_t *sa, char *array, unsigned int size);
isc_sockaddr_format(const isc_sockaddr_t *sa, char *array, unsigned int size);
/*
* Format a human-readable representation of the socket address '*sa'
* into the character array 'array', which is of size 'size'.
......
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: netaddr.c,v 1.19 2001/11/27 01:56:04 gson Exp $ */
/* $Id: netaddr.c,v 1.20 2002/02/11 18:19:22 gson Exp $ */
#include <config.h>
......@@ -133,7 +133,7 @@ isc_netaddr_totext(const isc_netaddr_t *netaddr, isc_buffer_t *target) {
}
void
isc_netaddr_format(isc_netaddr_t *na, char *array, unsigned int size) {
isc_netaddr_format(const isc_netaddr_t *na, char *array, unsigned int size) {
isc_result_t result;
isc_buffer_t buf;
......
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: sockaddr.c,v 1.51 2001/11/27 01:56:06 gson Exp $ */
/* $Id: sockaddr.c,v 1.52 2002/02/11 18:19:24 gson Exp $ */
#include <config.h>
......@@ -154,7 +154,7 @@ isc_sockaddr_totext(const isc_sockaddr_t *sockaddr, isc_buffer_t *target) {
}
void
isc_sockaddr_format(isc_sockaddr_t *sa, char *array, unsigned int size) {
isc_sockaddr_format(const isc_sockaddr_t *sa, char *array, unsigned int size) {
isc_result_t result;
isc_buffer_t buf;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment