Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Since the struct is const, no reason for the na...
details: https://anonhg.NetBSD.org/src/rev/f523b21f8878
branches: trunk
changeset: 783334:f523b21f8878
user: matt <matt%NetBSD.org@localhost>
date: Sat Dec 15 04:29:53 2012 +0000
description:
Since the struct is const, no reason for the name member to be const.
diffstat:
lib/libc/gen/unvis.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e7ff28839b39 -r f523b21f8878 lib/libc/gen/unvis.c
--- a/lib/libc/gen/unvis.c Sat Dec 15 04:10:05 2012 +0000
+++ b/lib/libc/gen/unvis.c Sat Dec 15 04:29:53 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: unvis.c,v 1.40 2012/12/14 21:31:01 christos Exp $ */
+/* $NetBSD: unvis.c,v 1.41 2012/12/15 04:29:53 matt Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: unvis.c,v 1.40 2012/12/14 21:31:01 christos Exp $");
+__RCSID("$NetBSD: unvis.c,v 1.41 2012/12/15 04:29:53 matt Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -81,7 +81,7 @@
* RFC 1866
*/
static const struct nv {
- const char name[7];
+ char name[7];
uint8_t value;
} nv[] = {
{ "AElig", 198 }, /* capital AE diphthong (ligature) */
Home |
Main Index |
Thread Index |
Old Index