Date: Thu, 23 Jul 2026 10:00:39 +0000 From: Olivier Certner <olce@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Gordon Bergling <gbe@FreeBSD.org> Subject: git: 8b242548a69e - stable/14 - style.9: Fix two typos in the manual page Message-ID: <6a61e647.3aced.57c340eb@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=8b242548a69e0d5f745bdc0b44e2ed76fa898a0d commit 8b242548a69e0d5f745bdc0b44e2ed76fa898a0d Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2025-10-26 15:52:11 +0000 Commit: Olivier Certner <olce@FreeBSD.org> CommitDate: 2026-07-23 09:59:04 +0000 style.9: Fix two typos in the manual page - s/signficant/significant/ - s/protoypes/prototypes/ MFC after: 5 days (cherry picked from commit 8eedabfe9ac8b5841662d342c5ba8cbb0ac6e0c5) --- share/man/man9/style.9 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index 26c7a3b2aa64..c9c3af23864a 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -816,7 +816,7 @@ If no local variables are declared, the first line should be a statement. Older versions of this .Nm document required a blank line before code. -Such lines should be removed when signficant changes are made to the code. +Such lines should be removed when significant changes are made to the code. .Pp Use .Xr printf 3 , @@ -947,7 +947,7 @@ namespace foo::bar { .Ed .Pp Member function declarations should follow the same style used for standalone -function protoypes except that a space should be used between a function's +function prototypes except that a space should be used between a function's return type and name. .Pp Function definitions at the top level should use a newline after the functionhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a61e647.3aced.57c340eb>
