use const in inet_addr () proto

This commit is contained in:
Jeff Hill committed 1997-04-29 06:16:23 +00:00
1 parent 56e35d8305
commit 721840498c
2 files changed
+2 -2

No files matched your search

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