summaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2014-09-04 13:51:55 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2014-09-04 13:51:55 +0000
commitc5807d17801e32265cc1780e429cdbfb31f19762 (patch)
tree77751b0e619567567bc1a695eb18088f9395d97f /lib/libc/net
parentc01ce3cd7ce1db63f3f26f455ca0df843596fb04 (diff)
POSIX specifies arpa/inet.h as the include file for these.
OK aja@ mikeb@
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/htonl.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/htonl.3 b/lib/libc/net/htonl.3
index 085fb0271f4..e32ca717b14 100644
--- a/lib/libc/net/htonl.3
+++ b/lib/libc/net/htonl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: htonl.3,v 1.2 2014/07/13 20:42:33 jmc Exp $
+.\" $OpenBSD: htonl.3,v 1.3 2014/09/04 13:51:54 millert Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 13 2014 $
+.Dd $Mdocdate: September 4 2014 $
.Dt HTONL 3
.Os
.Sh NAME
@@ -37,7 +37,7 @@
.Nm ntohs
.Nd convert values between host and network byte orderings
.Sh SYNOPSIS
-.In netinet/in.h
+.In arpa/inet.h
.Ft uint32_t
.Fn htonl "uint32_t host32"
.Ft uint16_t