Date: Thu, 31 Jul 2025 10:13:11 GMT From: Olivier Certner <olce@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 868b5492d184 - main - style.9: Fix "parantheses" typos in the new C++ section Message-ID: <202507311013.56VADBuP085193@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=868b5492d184683c4b46927706f7cbd551d0e209 commit 868b5492d184683c4b46927706f7cbd551d0e209 Author: Trond Endrestøl <Trond.Endrestol@ximalas.info> AuthorDate: 2025-07-31 09:04:10 +0000 Commit: Olivier Certner <olce@FreeBSD.org> CommitDate: 2025-07-31 10:11:45 +0000 style.9: Fix "parantheses" typos in the new C++ section PR: 288564 Fixes: 4b02ad9d5063 ("style.9: Add a C++ section") Sponsored by: The FreeBSD Foundation (commit) --- 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 e9f17392ae0c..26c7a3b2aa64 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -934,9 +934,9 @@ and Header files should always use a suffix, unlike headers from the C++ standard library. .Pp -Return values should not be enclosed in parantheses. +Return values should not be enclosed in parentheses. When converting existing C code to C++, -existing return values may remain in parantheses. +existing return values may remain in parentheses. .Pp The opening curly brace for namespace declarations should be on the first line similar to structure and class definitions.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507311013.56VADBuP085193>