use const in inet_addr () proto

This commit is contained in:
Jeff Hill
1997-04-29 06:16:23 +00:00
parent 56e35d8305
commit 721840498c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
/*
+1 -1
View File
@@ -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);
/*