diff options
Diffstat (limited to 'lib/unix.c')
-rw-r--r-- | lib/unix.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -32,7 +32,7 @@ /* Display an UNSPEC address. */ -static char *UNSPEC_print(unsigned char *ptr) +static const char *UNSPEC_print(const char *ptr) { static char buff[64]; char *pos; @@ -48,7 +48,7 @@ static char *UNSPEC_print(unsigned char *ptr) /* Display an UNSPEC socket address. */ -static char *UNSPEC_sprint(struct sockaddr *sap, int numeric) +static const char *UNSPEC_sprint(struct sockaddr *sap, int numeric) { static char buf[64]; @@ -61,14 +61,14 @@ static char *UNSPEC_sprint(struct sockaddr *sap, int numeric) #if HAVE_AFUNIX /* Display a UNIX domain address. */ -static char *UNIX_print(unsigned char *ptr) +static const char *UNIX_print(const char *ptr) { return (ptr); } /* Display a UNIX domain address. */ -static char *UNIX_sprint(struct sockaddr *sap, int numeric) +static const char *UNIX_sprint(struct sockaddr *sap, int numeric) { static char buf[64]; |