Module Name: src
Committed By: rillig
Date: Sun Mar 21 20:18:45 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c
Log Message:
lint: adjust type in documentation of add_array
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/usr.bin/xlint/lint1/decl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/xlint/lint1/decl.c
diff -u src/usr.bin/xlint/lint1/decl.c:1.156 src/usr.bin/xlint/lint1/decl.c:1.157
--- src/usr.bin/xlint/lint1/decl.c:1.156 Sun Mar 21 10:30:28 2021
+++ src/usr.bin/xlint/lint1/decl.c Sun Mar 21 20:18:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: decl.c,v 1.156 2021/03/21 10:30:28 rillig Exp $ */
+/* $NetBSD: decl.c,v 1.157 2021/03/21 20:18:45 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: decl.c,v 1.156 2021/03/21 10:30:28 rillig Exp $");
+__RCSID("$NetBSD: decl.c,v 1.157 2021/03/21 20:18:45 rillig Exp $");
#endif
#include <sys/param.h>
@@ -1345,7 +1345,7 @@ add_pointer(sym_t *decl, pqinf_t *pi)
}
/*
- * If a dimension was specified, dim is 1, otherwise 0
+ * If a dimension was specified, dim is true, otherwise false
* n is the specified dimension
*/
sym_t *