summaryrefslogtreecommitdiffstats
path: root/lib/libc/inet/inet_pton.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2007-06-03 17:20:27 +0000
committerume <ume@FreeBSD.org>2007-06-03 17:20:27 +0000
commit1f0b78cb3e02e3e161fed2e61d1cf1d0fb386365 (patch)
tree4c177bc1c465cdceae9dd1ea93c01fa64b220b93 /lib/libc/inet/inet_pton.c
parent09efba1c33e3e58c865d7f628c4f48e47d74bcd0 (diff)
downloadFreeBSD-src-1f0b78cb3e02e3e161fed2e61d1cf1d0fb386365.zip
FreeBSD-src-1f0b78cb3e02e3e161fed2e61d1cf1d0fb386365.tar.gz
Merge BIND 9.4.1 into main chunk.
MFC after: 2 weeks
Diffstat (limited to 'lib/libc/inet/inet_pton.c')
-rw-r--r--lib/libc/inet/inet_pton.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/inet/inet_pton.c b/lib/libc/inet/inet_pton.c
index 44d9c61..ae65099 100644
--- a/lib/libc/inet/inet_pton.c
+++ b/lib/libc/inet/inet_pton.c
@@ -16,7 +16,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "$Id: inet_pton.c,v 1.2.206.2 2005/07/28 07:43:18 marka Exp $";
+static const char rcsid[] = "$Id: inet_pton.c,v 1.3.18.2 2005/07/28 07:38:07 marka Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
@@ -32,7 +32,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include "port_after.h"
-/*
+/*%
* WARNING: Don't even consider trying to compile this on a system where
* sizeof(int) < 4. sizeof(int) > 4 is fine; all the world's not a VAX.
*/
@@ -183,7 +183,7 @@ inet_pton6(const char *src, u_char *dst)
inet_pton4(curtok, tp) > 0) {
tp += NS_INADDRSZ;
seen_xdigits = 0;
- break; /* '\0' was seen by inet_pton4(). */
+ break; /*%< '\\0' was seen by inet_pton4(). */
}
return (0);
}
@@ -221,3 +221,5 @@ inet_pton6(const char *src, u_char *dst)
*/
#undef inet_pton
__weak_reference(__inet_pton, inet_pton);
+
+/*! \file */
OpenPOWER on IntegriCloud