Page MenuHomeFreeBSD

D35959.1785271856.diff
No OneTemporary

Size
916 B
Referenced Files
None
Subscribers
None

D35959.1785271856.diff

Index: share/man/man9/style.9
===================================================================
--- share/man/man9/style.9
+++ share/man/man9/style.9
@@ -535,7 +535,9 @@
.Li FALLTHROUGH
comment.
Numerical arguments should be checked for accuracy.
-Code which is unreachable for non-obvious reasons may be marked /*
+Code which is unreachable for non-obvious reasons should be marked
+.Fn __assert_unreachable
+instead of the older /*
.Li NOTREACHED
*/.
.Bd -literal
@@ -701,8 +703,7 @@
If a line overflows reuse the type keyword.
Variables may be initialized where declared especially when they
are constant for the rest of the scope.
-Declarations may be placed before executable lines at the start
-of any block.
+Declarations may be in any block, but must be placed before statements.
Calls to complicated functions should be avoided when initializing variables.
.Bd -literal
struct foo one, *two;

File Metadata

Mime Type
text/plain
Expires
Tue, Jul 28, 8:50 PM (19 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29296044
Default Alt Text
D35959.1785271856.diff (916 B)

Event Timeline