Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Make envsysunitnames const.



details:   https://anonhg.NetBSD.org/src/rev/253f560f10ac
branches:  trunk
changeset: 586774:253f560f10ac
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Dec 31 18:26:14 2005 +0000

description:
Make envsysunitnames const.

diffstat:

 sys/sys/envsys.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a202be70299c -r 253f560f10ac sys/sys/envsys.h
--- a/sys/sys/envsys.h  Sat Dec 31 17:55:55 2005 +0000
+++ b/sys/sys/envsys.h  Sat Dec 31 18:26:14 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: envsys.h,v 1.8 2005/12/26 18:41:36 perry Exp $ */
+/* $NetBSD: envsys.h,v 1.9 2005/12/31 18:26:14 matt Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -99,7 +99,7 @@
 };
 
 #ifdef ENVSYSUNITNAMES
-static const char *envsysunitnames[] = {
+static const char * const envsysunitnames[] = {
     "degC", "RPM", "VAC", "V", "Ohms", "W",
     "A", "Wh", "Ah", "bool", "integer", "Unk"
 };



Home | Main Index | Thread Index | Old Index