From 721840498ca6dd8607d6a6b64e598a85a3109ff1 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 29 Apr 1997 06:16:23 +0000 Subject: [PATCH] use const in inet_addr () proto --- src/include/os/sun4/osiSock.h | 2 +- src/libCom/osi/os/sun4/osdSock.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/os/sun4/osiSock.h b/src/include/os/sun4/osiSock.h index edf2ffb30..26d74bf37 100644 --- a/src/include/os/sun4/osiSock.h +++ b/src/include/os/sun4/osiSock.h @@ -64,7 +64,7 @@ void ipAddrToA (const struct sockaddr_in *pInetAddr, * (__SUNPRO_CC supplies this file but g++ does not supply * an ansi protottype) */ - unsigned long inet_addr (char *); + unsigned long inet_addr (const char *); char * inet_ntoa (struct in_addr in); /* diff --git a/src/libCom/osi/os/sun4/osdSock.h b/src/libCom/osi/os/sun4/osdSock.h index edf2ffb30..26d74bf37 100644 --- a/src/libCom/osi/os/sun4/osdSock.h +++ b/src/libCom/osi/os/sun4/osdSock.h @@ -64,7 +64,7 @@ void ipAddrToA (const struct sockaddr_in *pInetAddr, * (__SUNPRO_CC supplies this file but g++ does not supply * an ansi protottype) */ - unsigned long inet_addr (char *); + unsigned long inet_addr (const char *); char * inet_ntoa (struct in_addr in); /*