git: 9798fb6f3b34 - stable/14 - style.9: Fix "parantheses" typos in the new C++ section
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Jul 2026 10:00:38 UTC
The branch stable/14 has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=9798fb6f3b341041836a52dca2259d656d553f45
commit 9798fb6f3b341041836a52dca2259d656d553f45
Author: Trond Endrestøl <Trond.Endrestol@ximalas.info>
AuthorDate: 2025-07-31 09:04:10 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-07-23 09:59:03 +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)
(cherry picked from commit 868b5492d184683c4b46927706f7cbd551d0e209)
---
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.