style.9: Fix two typos in the manual page

- s/signficant/significant/
- s/protoypes/prototypes/

MFC after:	5 days
This commit is contained in:
Gordon Bergling
2025-10-26 16:52:11 +01:00
parent fe45f7ddb5
commit 8eedabfe9a
+2 -2
View File
@@ -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