summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/byteorder.3
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2013-06-05 03:39:22 +0000
committertedu <tedu@openbsd.org>2013-06-05 03:39:22 +0000
commit64d4e9871d1af4e50715ace8f2f237ff8e4d36e0 (patch)
tree90569bb16bd247c9a0433830994a6bc333a5a4f9 /lib/libc/net/byteorder.3
parentm_defrag(9) wasnt documented. (diff)
downloadwireguard-openbsd-64d4e9871d1af4e50715ace8f2f237ff8e4d36e0.tar.xz
wireguard-openbsd-64d4e9871d1af4e50715ace8f2f237ff8e4d36e0.zip
Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze
Diffstat (limited to 'lib/libc/net/byteorder.3')
-rw-r--r--lib/libc/net/byteorder.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/byteorder.3 b/lib/libc/net/byteorder.3
index ba9798a137f..53f9fd071d5 100644
--- a/lib/libc/net/byteorder.3
+++ b/lib/libc/net/byteorder.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: byteorder.3,v 1.17 2012/03/20 06:06:03 dlg Exp $
+.\" $OpenBSD: byteorder.3,v 1.18 2013/06/05 03:39:22 tedu 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: March 20 2012 $
+.Dd $Mdocdate: June 5 2013 $
.Dt BYTEORDER 3
.Os
.Sh NAME
@@ -52,7 +52,7 @@
.Nm swap16
.Nd convert values between different byte orderings
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
+.In sys/types.h
.Ft u_int32_t
.Fn htonl "u_int32_t host32"
.Ft u_int16_t