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); /*