Module Name: src
Committed By: rillig
Date: Sat Apr 15 12:22:37 UTC 2023
Modified Files:
src/share/misc: style
Log Message:
style: fix spelling of plural parentheses
To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/share/misc/style
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/misc/style
diff -u src/share/misc/style:1.71 src/share/misc/style:1.72
--- src/share/misc/style:1.71 Fri Apr 14 16:53:13 2023
+++ src/share/misc/style Sat Apr 15 12:22:37 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: style,v 1.71 2023/04/14 16:53:13 rillig Exp $ */
+/* $NetBSD: style,v 1.72 2023/04/15 12:22:37 rillig Exp $ */
/*
* The revision control tag appears first, with a blank line after it.
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
__COPYRIGHT("@(#) Copyright (c) 2008\
The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: style,v 1.71 2023/04/14 16:53:13 rillig Exp $");
+__RCSID("$NetBSD: style,v 1.72 2023/04/15 12:22:37 rillig Exp $");
/*
* VERY important single-line comments look like this.
@@ -151,7 +151,7 @@ static void usage(void) __dead; /* decla
* use of TABs should be consistent through a file.
* If they are an inline expansion of a function, the function is defined
* all in lowercase, the macro has the same name all in uppercase.
- * If the macro is an expression, wrap the expression in parenthesis.
+ * If the macro is an expression, wrap the expression in parentheses.
* If the macro is more than a single statement, use ``do { ... } while (0)''
* or ``do { ... } while (false)'', so that a trailing semicolon works.
* Right-justify the backslashes; it makes it easier to read.
@@ -328,7 +328,7 @@ main(int argc, char *argv[])
/*
* Unary operators don't require spaces, binary operators do.
- * Don't excessively use parenthesis, but they should be used if
+ * Don't excessively use parentheses, but they should be used if a
* statement is really confusing without them, such as:
* a = b->c[0] + ~d == (e || f) || g && h ? i : j >> 1;
*/