summaryrefslogtreecommitdiffstats
path: root/lib/libc/inet/inet_pton.c
diff options
context:
space:
mode:
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