The branch main has been updated by olce:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=868b5492d184683c4b46927706f7cbd551d0e209

commit 868b5492d184683c4b46927706f7cbd551d0e209
Author:     Trond Endrestøl <trond.endres...@ximalas.info>
AuthorDate: 2025-07-31 09:04:10 +0000
Commit:     Olivier Certner <o...@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.

Reply via email to