Module Name: src
Committed By: rillig
Date: Fri Jun 4 20:54:18 UTC 2021
Modified Files:
src/usr.bin/xlint/common: tyname.c
Log Message:
lint: fix typo in comment
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/usr.bin/xlint/common/tyname.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/common/tyname.c
diff -u src/usr.bin/xlint/common/tyname.c:1.40 src/usr.bin/xlint/common/tyname.c:1.41
--- src/usr.bin/xlint/common/tyname.c:1.40 Sun Apr 18 17:47:32 2021
+++ src/usr.bin/xlint/common/tyname.c Fri Jun 4 20:54:18 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: tyname.c,v 1.40 2021/04/18 17:47:32 rillig Exp $ */
+/* $NetBSD: tyname.c,v 1.41 2021/06/04 20:54:18 rillig Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: tyname.c,v 1.40 2021/04/18 17:47:32 rillig Exp $");
+__RCSID("$NetBSD: tyname.c,v 1.41 2021/06/04 20:54:18 rillig Exp $");
#endif
#include <limits.h>
@@ -197,7 +197,7 @@ sametype(const type_t *t1, const type_t
if (t1->t_tspec != t2->t_tspec)
return false;
- /* Ignore const/void */
+ /* Ignore const/volatile */
switch (t = t1->t_tspec) {
case BOOL: