Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2025 06:27:58 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8eedabfe9ac8 - main - style.9: Fix two typos in the manual page
Message-ID:  <202510270627.59R6RwRI039356@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=8eedabfe9ac8b5841662d342c5ba8cbb0ac6e0c5

commit 8eedabfe9ac8b5841662d342c5ba8cbb0ac6e0c5
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2025-10-26 15:52:11 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2025-10-27 06:27:28 +0000

    style.9: Fix two typos in the manual page
    
    - s/signficant/significant/
    - s/protoypes/prototypes/
    
    MFC after:      5 days
---
 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 function


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510270627.59R6RwRI039356>