summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2016-10-18 18:13:56 +0000
committermillert <millert@openbsd.org>2016-10-18 18:13:56 +0000
commit08489921c255ba625d14711fc56ddcfb13ced0eb (patch)
treec55fa9216288a9d4e555690d1fca55a4c41bc409
parentRemove the -B flag. Most of the byteswapping code was tedu'd already. (diff)
downloadwireguard-openbsd-08489921c255ba625d14711fc56ddcfb13ced0eb.tar.xz
wireguard-openbsd-08489921c255ba625d14711fc56ddcfb13ced0eb.zip
Don't tell the programmer not to put variable declarations inside
blocks. OK guenther@ kettenis@
-rw-r--r--share/man/man9/style.94
1 files changed, 1 insertions, 3 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
index 26e4a950fbd..73693c52155 100644
--- a/share/man/man9/style.9
+++ b/share/man/man9/style.9
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: style.9,v 1.67 2016/10/18 12:38:01 millert Exp $
+.\" $OpenBSD: style.9,v 1.68 2016/10/18 18:13:56 millert Exp $
.\"
.Dd $Mdocdate: October 18 2016 $
.Dt STYLE 9
@@ -312,8 +312,6 @@ for (;;) {
.Ed
.Pp
Parts of a for loop may be left empty.
-Don't put declarations inside blocks unless the routine is
-unusually complicated.
.Bd -literal -offset indent
for (; cnt < 15; cnt++) {
stmt1;