summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2020-11-14 10:35:58 +0000
committerjmc <jmc@openbsd.org>2020-11-14 10:35:58 +0000
commit961ae58b0647acb72809d3523955df3fa16862b9 (patch)
tree9e22fcb6224ef72db2325d6e7135d20d7876d053
parentEVFILT_EXCEPT operates on sockets (emil engler) (diff)
downloadwireguard-openbsd-961ae58b0647acb72809d3523955df3fa16862b9.tar.xz
wireguard-openbsd-961ae58b0647acb72809d3523955df3fa16862b9.zip
remove macro instances from arbitrary string width specifiers. for example
-width ".Dv BOB" -> -width "BOB" although they are not errors, they are misleading and probably should not get pasted around
-rw-r--r--lib/libc/uuid/uuid_compare.36
-rw-r--r--lib/libelf/elf.314
-rw-r--r--lib/libelf/gelf.34
-rw-r--r--lib/libm/man/feclearexcept.36
-rw-r--r--lib/libm/man/fegetround.36
-rw-r--r--share/man/man4/bnx.48
-rw-r--r--share/man/man9/getdevvp.98
-rw-r--r--share/man/man9/getnewvnode.96
-rw-r--r--share/man/man9/vclean.98
-rw-r--r--share/man/man9/vdevgone.98
-rw-r--r--share/man/man9/vflush.98
-rw-r--r--share/man/man9/vinvalbuf.96
-rw-r--r--usr.bin/file/magic.58
13 files changed, 48 insertions, 48 deletions
diff --git a/lib/libc/uuid/uuid_compare.3 b/lib/libc/uuid/uuid_compare.3
index 41f78976d19..5fb2f11bfd4 100644
--- a/lib/libc/uuid/uuid_compare.3
+++ b/lib/libc/uuid/uuid_compare.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: uuid_compare.3,v 1.1 2019/08/30 17:34:36 deraadt Exp $
+.\" $OpenBSD: uuid_compare.3,v 1.2 2020/11/14 10:35:58 jmc Exp $
.\" $NetBSD: uuid.3,v 1.7 2008/05/02 18:11:05 martin Exp $
.\"
.\" Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -55,7 +55,7 @@
.\"
.\" $FreeBSD: src/lib/libc/uuid/uuid.3,v 1.4 2003/08/08 19:12:28 marcel Exp $
.\"
-.Dd $Mdocdate: August 30 2019 $
+.Dd $Mdocdate: November 14 2020 $
.Dt UUID_COMPARE 3
.Os
.Sh NAME
@@ -180,7 +180,7 @@ functions return successful or unsuccessful completion status in the
argument unless it is
.Dv NULL .
Possible values are:
-.Bl -tag -width ".Dv uuid_s_invalid_string_uuid"
+.Bl -tag -width "uuid_s_invalid_string_uuid"
.It Dv uuid_s_ok
The function completed successfully.
.It Dv uuid_s_bad_version
diff --git a/lib/libelf/elf.3 b/lib/libelf/elf.3
index 3c238f2ea4f..126b7cd7975 100644
--- a/lib/libelf/elf.3
+++ b/lib/libelf/elf.3
@@ -21,7 +21,7 @@
.\" out of the use of this software, even if advised of the possibility of
.\" such damage.
.\"
-.\" $Id: elf.3,v 1.5 2020/05/18 06:46:23 jsg Exp $
+.\" $Id: elf.3,v 1.6 2020/11/14 10:35:58 jmc Exp $
.\"
.Dd June 12, 2019
.Dt ELF 3
@@ -187,7 +187,7 @@ for its internal use.
.Ss Descriptors
Applications communicate with the library using descriptors.
These are:
-.Bl -tag -width ".Vt Elf_Data"
+.Bl -tag -width "Elf_Data"
.It Vt Elf
An
.Vt Elf
@@ -246,7 +246,7 @@ An
data structure describes an individual chunk of a ELF file as
represented in memory.
It has the following application-visible members:
-.Bl -tag -width ".Vt unsigned int d_version" -compact
+.Bl -tag -width "unsigned int d_version" -compact
.It Vt "uint64_t d_align"
The in-file alignment of the data buffer within its containing ELF section.
This value must be non-zero and a power of two.
@@ -307,7 +307,7 @@ function.
.Ss Supported Elf Types
The following ELF datatypes are supported by the library.
.Pp
-.Bl -tag -width ".Dv ELF_T_SYMINFO" -compact
+.Bl -tag -width "ELF_T_SYMINFO" -compact
.It Dv ELF_T_ADDR
Machine addresses.
.It Dv ELF_T_BYTE
@@ -368,7 +368,7 @@ The following table shows the mapping between ELF section types
defined in
.Xr elf 5
and the types supported by the library.
-.Bl -column ".Dv SHT_PREINIT_ARRAY" ".Dv ELF_T_SYMINFO"
+.Bl -column "SHT_PREINIT_ARRAY" "ELF_T_SYMINFO"
.It Em Section Type Ta Em "Library Type" Ta Em Description
.It Dv SHT_DYNAMIC Ta Dv ELF_T_DYN Ta Xo
.Sq .dynamic
@@ -509,7 +509,7 @@ archive or ELF object present in a memory arena.
Sets the operating version.
.El
.It "IO Control"
-.Bl -tag -width ".Fn elf_setshstrndx" -compact
+.Bl -tag -width "elf_setshstrndx" -compact
.It Fn elf_cntl
Manage the association between and ELF descriptor and its underlying file.
.It Fn elf_flagdata
@@ -533,7 +533,7 @@ Recompute ELF object layout and optionally write the modified object
back to the underlying file.
.El
.It "Queries"
-.Bl -tag -width ".Fn elf_getshstrndx" -compact
+.Bl -tag -width "elf_getshstrndx" -compact
.It Fn elf32_checksum , Fn elf64_checkum
Compute checksum of an ELF object.
.It Fn elf_getident
diff --git a/lib/libelf/gelf.3 b/lib/libelf/gelf.3
index c43bc41bd6d..b98c5b17aa9 100644
--- a/lib/libelf/gelf.3
+++ b/lib/libelf/gelf.3
@@ -21,7 +21,7 @@
.\" out of the use of this software, even if advised of the possibility of
.\" such damage.
.\"
-.\" $Id: gelf.3,v 1.3 2020/05/18 06:46:23 jsg Exp $
+.\" $Id: gelf.3,v 1.4 2020/11/14 10:35:58 jmc Exp $
.\"
.Dd June 12, 2019
.Dt GELF 3
@@ -171,7 +171,7 @@ Retrieves the size of the file representation of an ELF type.
Retrieves the ELF class of an ELF descriptor.
.El
.It "Updating ELF Data"
-.Bl -tag -compact -width ".Fn gelf_update_shdr"
+.Bl -tag -compact -width "gelf_update_shdr"
.It Fn gelf_update_dyn
Copy back an ELF
.Sy .dynamic
diff --git a/lib/libm/man/feclearexcept.3 b/lib/libm/man/feclearexcept.3
index 2ec79accde8..1b0c506d5bf 100644
--- a/lib/libm/man/feclearexcept.3
+++ b/lib/libm/man/feclearexcept.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: feclearexcept.3,v 1.5 2016/04/26 19:49:22 tb Exp $
+.\" $OpenBSD: feclearexcept.3,v 1.6 2020/11/14 10:35:58 jmc Exp $
.\"
.\" Copyright (c) 2011 Martynas Venckus <martynas@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: April 26 2016 $
+.Dd $Mdocdate: November 14 2020 $
.Dt FECLEAREXCEPT 3
.Os
.Sh NAME
@@ -42,7 +42,7 @@ The
.Fa excepts
input argument is a bitmask specifying an exception type and
containing any of the values listed below.
-.Bl -tag -width ".Dv FE_DIVBYZERO"
+.Bl -tag -width "FE_DIVBYZERO"
.It Dv FE_DIVBYZERO
A divide-by-zero exception occurs when the program attempts to
divide a finite non-zero number by zero.
diff --git a/lib/libm/man/fegetround.3 b/lib/libm/man/fegetround.3
index 68c7952b4d9..60e835de366 100644
--- a/lib/libm/man/fegetround.3
+++ b/lib/libm/man/fegetround.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fegetround.3,v 1.3 2013/06/05 03:40:26 tedu Exp $
+.\" $OpenBSD: fegetround.3,v 1.4 2020/11/14 10:35:58 jmc Exp $
.\"
.\" Copyright (c) 2011 Martynas Venckus <martynas@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: November 14 2020 $
.Dt FEGETROUND 3
.Os
.Sh NAME
@@ -34,7 +34,7 @@ The
.Fa round
input argument is a value specifying a rounding direction mode and
containing any of the values listed below.
-.Bl -tag -width ".Dv FE_TOWARDZERO"
+.Bl -tag -width "FE_TOWARDZERO"
.It Dv FE_TONEAREST
Results are rounded to the closest representable value.
If the exact result is exactly half way between two representable
diff --git a/share/man/man4/bnx.4 b/share/man/man4/bnx.4
index d6fd1a13d35..88d86d3a9a6 100644
--- a/share/man/man4/bnx.4
+++ b/share/man/man4/bnx.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bnx.4,v 1.30 2014/09/14 00:17:09 brad Exp $
+.\" $OpenBSD: bnx.4,v 1.31 2020/11/14 10:35:58 jmc Exp $
.\"
.\"Copyright (c) 2006 Broadcom Corporation
.\" David Christensen <davidch@broadcom.com>. All rights reserved.
@@ -30,7 +30,7 @@
.\"
.\" $FreeBSD: /repoman/r/ncvs/src/share/man/man4/bce.4,v 1.2 2006/04/10 20:12:17 brueffer Exp $
.\"
-.Dd $Mdocdate: September 14 2014 $
+.Dd $Mdocdate: November 14 2020 $
.Dt BNX 4
.Os
.Sh NAME
@@ -89,7 +89,7 @@ interrupt coalescing
The
.Nm
driver supports the following media types:
-.Bl -tag -width ".Cm 10baseT/UTP"
+.Bl -tag -width "10baseT/UTP"
.It Cm autoselect
Enable autoselection of the media type and options.
The user can manually override
@@ -135,7 +135,7 @@ mode is supported.
The
.Nm
driver supports the following media options:
-.Bl -tag -width ".Cm full-duplex"
+.Bl -tag -width "full-duplex"
.It Cm full-duplex
Force full duplex operation.
.It Cm half-duplex
diff --git a/share/man/man9/getdevvp.9 b/share/man/man9/getdevvp.9
index e38b3b514fd..1fc976e3717 100644
--- a/share/man/man9/getdevvp.9
+++ b/share/man/man9/getdevvp.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getdevvp.9,v 1.8 2013/06/04 19:27:06 schwarze Exp $
+.\" $OpenBSD: getdevvp.9,v 1.9 2020/11/14 10:35:58 jmc Exp $
.\"
.\" Copyright (C) 2002 Peter A. Werner. All rights reserved.
.\"
@@ -26,7 +26,7 @@
.\" DAMAGE.
.\"
.\"
-.Dd $Mdocdate: June 4 2013 $
+.Dd $Mdocdate: November 14 2020 $
.Dt GETDEVVP 9
.Os
.Sh NAME
@@ -54,14 +54,14 @@ and returns a pointer to it in
.Fa vpp .
.Pp
Its arguments are:
-.Bl -tag -width ".Fa rootrefs"
+.Bl -tag -width "rootrefs"
.It Fa dev
The device number of the desired device.
.It Fa vpp
Where the vnode will be returned on success.
.It Fa type
The type of device, either:
-.Bl -tag -width ".Dv VBLK"
+.Bl -tag -width "VBLK"
.It Dv VBLK
For a block device, or
.It Dv VCHR
diff --git a/share/man/man9/getnewvnode.9 b/share/man/man9/getnewvnode.9
index 1b2949089f6..e531070c9a8 100644
--- a/share/man/man9/getnewvnode.9
+++ b/share/man/man9/getnewvnode.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getnewvnode.9,v 1.10 2020/01/20 23:23:04 claudio Exp $
+.\" $OpenBSD: getnewvnode.9,v 1.11 2020/11/14 10:35:58 jmc Exp $
.\"
.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved.
.\"
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD: src/share/man/man9/getnewvnode.9,v 1.1 2001/12/02 02:13:35 alfred Exp $
.\"
-.Dd $Mdocdate: January 20 2020 $
+.Dd $Mdocdate: November 14 2020 $
.Dt GETNEWVNODE 9
.Os
.Sh NAME
@@ -63,7 +63,7 @@ freshly allocated.
The arguments to
.Fn getnewvnode
are:
-.Bl -tag -width ".Fa vops"
+.Bl -tag -width "vops"
.It Fa tag
The file system type.
.It Fa mp
diff --git a/share/man/man9/vclean.9 b/share/man/man9/vclean.9
index 74e95865a30..324471a3dad 100644
--- a/share/man/man9/vclean.9
+++ b/share/man/man9/vclean.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vclean.9,v 1.10 2013/06/04 19:27:15 schwarze Exp $
+.\" $OpenBSD: vclean.9,v 1.11 2020/11/14 10:35:58 jmc Exp $
.\"-
.\" Copyright (c) 2002 Peter Werner
.\" All rights reserved.
@@ -25,7 +25,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: June 4 2013 $
+.Dd $Mdocdate: November 14 2020 $
.Dt VCLEAN 9
.Os
.Sh NAME
@@ -48,12 +48,12 @@ function clears any VM and buffer data associated with the vnode
and reclaims it from the underlying file system.
.Pp
Its arguments are:
-.Bl -tag -width ".Fa flags"
+.Bl -tag -width "flags"
.It Fa vp
The vnode to be cleaned.
.It Fa flags
The flags indicating how the vnode should be handled.
-.Bl -tag -width ".Dv DOCLOSE"
+.Bl -tag -width "DOCLOSE"
.It Dv DOCLOSE
If this flag is set,
.Fn vclean
diff --git a/share/man/man9/vdevgone.9 b/share/man/man9/vdevgone.9
index 1482159bf99..22a38f73801 100644
--- a/share/man/man9/vdevgone.9
+++ b/share/man/man9/vdevgone.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vdevgone.9,v 1.7 2013/06/04 19:27:15 schwarze Exp $
+.\" $OpenBSD: vdevgone.9,v 1.8 2020/11/14 10:35:58 jmc Exp $
.\"-
.\" Copyright (c) 2002 Peter Werner
.\" All rights reserved.
@@ -25,7 +25,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: June 4 2013 $
+.Dd $Mdocdate: November 14 2020 $
.Dt VDEVGONE 9
.Os
.Sh NAME
@@ -51,7 +51,7 @@ and of type
.Fa type .
.Pp
Its arguments are:
-.Bl -tag -width ".Fa type"
+.Bl -tag -width "type"
.It Fa maj
The major number of the device.
.It Fa minl
@@ -60,7 +60,7 @@ The lowest minor number for the device to be revoked.
The highest minor number for the device to be revoked.
.It Fa type
The type of the device; this must be one of:
-.Bl -tag -width ".Dv VBLK"
+.Bl -tag -width "VBLK"
.It Dv VBLK
Device is a block device
.It Dv VCHR
diff --git a/share/man/man9/vflush.9 b/share/man/man9/vflush.9
index 44f4599a062..cba834018cf 100644
--- a/share/man/man9/vflush.9
+++ b/share/man/man9/vflush.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vflush.9,v 1.6 2013/07/17 20:21:55 schwarze Exp $
+.\" $OpenBSD: vflush.9,v 1.7 2020/11/14 10:35:58 jmc Exp $
.\"
.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved.
.\"
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD: src/share/man/man9/vflush.9,v 1.2 2001/12/14 09:11:13 ru Exp $
.\"
-.Dd $Mdocdate: July 17 2013 $
+.Dd $Mdocdate: November 14 2020 $
.Dt VFLUSH 9
.Os
.Sh NAME
@@ -45,14 +45,14 @@ function removes any vnodes in the vnode table that belong to the given
mount structure.
.Pp
Its arguments are:
-.Bl -tag -width ".Fa rootrefs"
+.Bl -tag -width "rootrefs"
.It Fa mp
The mount point whose vnodes should be removed.
.It Fa skipvp
If this is given, the vnode it represents will be skipped.
.It Fa flags
The flags indicating how vnodes should be handled.
-.Bl -tag -width ".Dv WRITECLOSE"
+.Bl -tag -width "WRITECLOSE"
.It Dv FORCECLOSE
If set, busy vnodes will be forcibly closed.
.It Dv SKIPSYSTEM
diff --git a/share/man/man9/vinvalbuf.9 b/share/man/man9/vinvalbuf.9
index 419656124a4..f955cbb08cb 100644
--- a/share/man/man9/vinvalbuf.9
+++ b/share/man/man9/vinvalbuf.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vinvalbuf.9,v 1.12 2019/07/25 01:43:20 cheloha Exp $
+.\" $OpenBSD: vinvalbuf.9,v 1.13 2020/11/14 10:35:58 jmc Exp $
.\"
.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved.
.\"
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD: src/share/man/man9/vinvalbuf.9,v 1.6 2001/10/06 11:19:41 sheldonh Exp $
.\"
-.Dd $Mdocdate: July 25 2019 $
+.Dd $Mdocdate: November 14 2020 $
.Dt VINVALBUF 9
.Os
.Sh NAME
@@ -53,7 +53,7 @@ If the
flag is set, indirect blocks will not be flushed.
.Pp
Its arguments are:
-.Bl -tag -width ".Fa slptimeo"
+.Bl -tag -width "slptimeo"
.It Fa vp
A pointer to the vnode whose buffers will be invalidated.
.It Fa flags
diff --git a/usr.bin/file/magic.5 b/usr.bin/file/magic.5
index be8dcd9b230..fe35d97ef8d 100644
--- a/usr.bin/file/magic.5
+++ b/usr.bin/file/magic.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: magic.5,v 1.18 2017/09/20 10:03:34 jmc Exp $
+.\" $OpenBSD: magic.5,v 1.19 2020/11/14 10:35:58 jmc Exp $
.\"
.\" @(#)$FreeBSD: src/usr.bin/file/magic.5,v 1.11 2000/03/01 12:19:39 sheldonh Exp $
.\"
@@ -30,7 +30,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 20 2017 $
+.Dd $Mdocdate: November 14 2020 $
.Dt MAGIC 5
.Os
.\" install as magic.4 on USG, magic.5 on V7, Berkeley and Linux systems.
@@ -58,14 +58,14 @@ A test compares the data starting at a particular offset
in the file with a byte value, a string or a numeric value.
If the test succeeds, a message is printed.
The line consists of the following fields:
-.Bl -tag -width ".Dv message"
+.Bl -tag -width "message"
.It Dv offset
A number specifying the offset, in bytes, into the file of the data
which is to be tested.
.It Dv type
The type of the data to be tested.
The possible values are:
-.Bl -tag -width ".Dv lestring16"
+.Bl -tag -width "lestring16"
.It Dv byte
A one-byte value.
.It Dv short