Date: Sun, 2 Nov 2025 01:19:06 GMT From: Gordon Bergling <gbe@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 4e53ef422ca3 - stable/15 - style.9: Fix two typos in the manual page Message-ID: <202511020119.5A21J6VK074773@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=4e53ef422ca3fd7731e60c7d35ccecb31d45bcf6 commit 4e53ef422ca3fd7731e60c7d35ccecb31d45bcf6 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2025-10-26 15:52:11 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2025-11-02 01:18:20 +0000 style.9: Fix two typos in the manual page - s/signficant/significant/ - s/protoypes/prototypes/ (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?202511020119.5A21J6VK074773>
