Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/common lint: fix typo in comment
details: https://anonhg.NetBSD.org/src/rev/dd9be0abc111
branches: trunk
changeset: 379531:dd9be0abc111
user: rillig <rillig%NetBSD.org@localhost>
date: Fri Jun 04 20:54:18 2021 +0000
description:
lint: fix typo in comment
diffstat:
usr.bin/xlint/common/tyname.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 49f269632e30 -r dd9be0abc111 usr.bin/xlint/common/tyname.c
--- a/usr.bin/xlint/common/tyname.c Fri Jun 04 17:12:08 2021 +0000
+++ b/usr.bin/xlint/common/tyname.c Fri Jun 04 20:54:18 2021 +0000
@@ -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:
Home |
Main Index |
Thread Index |
Old Index