summaryrefslogtreecommitdiff
path: root/share/misc/style
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-22 01:29:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-22 01:29:01 +0000
commita78513c1a7210b960ecf8ab449672dcd322a720b (patch)
tree032dce8b4b496e9207ccac70749a466ce0a0bd69 /share/misc/style
parent882e83ccf31fca22178b290a6753a605bb52044c (diff)
sync with netbsd 960418
Diffstat (limited to 'share/misc/style')
-rw-r--r--share/misc/style5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/misc/style b/share/misc/style
index 0cbf154b246..be87bc1546e 100644
--- a/share/misc/style
+++ b/share/misc/style
@@ -1,8 +1,9 @@
+/* $OpenBSD: style,v 1.2 1996/04/22 01:28:30 deraadt Exp $ */
+
/*
* Style guide for the 4BSD KNF (Kernel Normal Form).
*
* from: @(#)style 1.12 (Berkeley) 3/18/94
- * $Id: style,v 1.1 1995/10/18 08:44:44 deraadt Exp $
*/
/*
@@ -122,7 +123,7 @@ main(argc, argv)
* should be checked for accuracy. Code that cannot be reached should
* have a NOTREACHED comment.
*/
- while ((ch = getopt(argc, argv, "abn")) != EOF)
+ while ((ch = getopt(argc, argv, "abn")) != -1)
switch (ch) { /* Indent the switch. */
case 'a': /* Don't indent the case. */
aflag = 1;