aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2025-10-26 15:52:11 +0000
committerGordon Bergling <gbe@FreeBSD.org>2025-10-27 06:27:28 +0000
commit8eedabfe9ac8b5841662d342c5ba8cbb0ac6e0c5 (patch)
treea0ea5ce925baf2ac4a229ced4c4e578f0f98d366
parentfe45f7ddb53f16198a60cd015c20f5fc524aed89 (diff)
-rw-r--r--share/man/man9/style.94
1 files 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