From 733099db79c3c2668c3ba1571684bd82b40ea7b0 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Fri, 13 Jun 2025 18:34:00 +0000 Subject: The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction. --- src/lib/libc/stdlib/ptsname.3 | 6 +++--- src/lib/libc/stdlib/rand48.3 | 8 ++++---- src/lib/libc/stdlib/realpath.3 | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/lib/libc/stdlib') diff --git a/src/lib/libc/stdlib/ptsname.3 b/src/lib/libc/stdlib/ptsname.3 index 98705528f5..eea36a5a02 100644 --- a/src/lib/libc/stdlib/ptsname.3 +++ b/src/lib/libc/stdlib/ptsname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ptsname.3,v 1.2 2012/12/04 18:42:16 millert Exp $ +.\" $OpenBSD: ptsname.3,v 1.3 2025/06/13 18:34:00 schwarze Exp $ .\" .\" Copyright (c) 2002 The FreeBSD Project, Inc. .\" All rights reserved. @@ -32,7 +32,7 @@ .\" .\" $FreeBSD: head/lib/libc/stdlib/ptsname.3 240412 2012-09-12 17:54:09Z emaste $ .\" -.Dd $Mdocdate: December 4 2012 $ +.Dd $Mdocdate: June 13 2025 $ .Dt PTSNAME 3 .Os .Sh NAME @@ -44,7 +44,7 @@ .In stdlib.h .Ft int .Fn grantpt "int fildes" -.Ft "char *" +.Ft char * .Fn ptsname "int fildes" .Ft int .Fn unlockpt "int fildes" diff --git a/src/lib/libc/stdlib/rand48.3 b/src/lib/libc/stdlib/rand48.3 index fa7a7179bc..02e1999db9 100644 --- a/src/lib/libc/stdlib/rand48.3 +++ b/src/lib/libc/stdlib/rand48.3 @@ -9,9 +9,9 @@ .\" of any kind. I shall in no event be liable for anything that happens .\" to anyone/anything when using this software. .\" -.\" $OpenBSD: rand48.3,v 1.21 2019/12/20 19:16:40 tb Exp $ +.\" $OpenBSD: rand48.3,v 1.22 2025/06/13 18:34:00 schwarze Exp $ .\" -.Dd $Mdocdate: December 20 2019 $ +.Dd $Mdocdate: June 13 2025 $ .Dt DRAND48 3 .Os .Sh NAME @@ -46,9 +46,9 @@ .Fn srand48 "long seed" .Ft void .Fn srand48_deterministic "long seed" -.Ft "unsigned short *" +.Ft unsigned short * .Fn seed48 "unsigned short xseed[3]" -.Ft "unsigned short *" +.Ft unsigned short * .Fn seed48_deterministic "unsigned short xseed[3]" .Ft void .Fn lcong48 "unsigned short p[7]" diff --git a/src/lib/libc/stdlib/realpath.3 b/src/lib/libc/stdlib/realpath.3 index 1dec10fef4..1f932e3bb5 100644 --- a/src/lib/libc/stdlib/realpath.3 +++ b/src/lib/libc/stdlib/realpath.3 @@ -28,9 +28,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: realpath.3,v 1.26 2021/10/13 15:04:53 kn Exp $ +.\" $OpenBSD: realpath.3,v 1.27 2025/06/13 18:34:00 schwarze Exp $ .\" -.Dd $Mdocdate: October 13 2021 $ +.Dd $Mdocdate: June 13 2025 $ .Dt REALPATH 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Sh SYNOPSIS .In limits.h .In stdlib.h -.Ft "char *" +.Ft char * .Fn realpath "const char *pathname" "char *resolved" .Sh DESCRIPTION The -- cgit v1.2.3-55-g6feb