Fixed prototype of `inet_aton'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@652 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -52,7 +52,7 @@ void herror(char *s);
|
|||||||
#ifndef HAVE_INET_ATON
|
#ifndef HAVE_INET_ATON
|
||||||
/* Minimal implementation of inet_aton. Doesn't handle hex numbers. */
|
/* Minimal implementation of inet_aton. Doesn't handle hex numbers. */
|
||||||
#ifndef __GNUC__
|
#ifndef __GNUC__
|
||||||
int inet_aton(char *cp, struct in_addr *adr);
|
int inet_aton(const char *cp, struct in_addr *adr);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -52,7 +52,7 @@ void herror(char *s);
|
|||||||
#ifndef HAVE_INET_ATON
|
#ifndef HAVE_INET_ATON
|
||||||
/* Minimal implementation of inet_aton. Doesn't handle hex numbers. */
|
/* Minimal implementation of inet_aton. Doesn't handle hex numbers. */
|
||||||
#ifndef __GNUC__
|
#ifndef __GNUC__
|
||||||
int inet_aton(char *cp, struct in_addr *adr);
|
int inet_aton(const char *cp, struct in_addr *adr);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user