Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/menuc Need 'const' on local variable - since I added...



details:   https://anonhg.NetBSD.org/src/rev/14f777d4cf74
branches:  trunk
changeset: 546941:14f777d4cf74
user:      dsl <dsl%NetBSD.org@localhost>
date:      Fri May 09 10:24:50 2003 +0000

description:
Need 'const' on local variable - since I added const to the structure field.

diffstat:

 usr.bin/menuc/menu_sys.def |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d88079785250 -r 14f777d4cf74 usr.bin/menuc/menu_sys.def
--- a/usr.bin/menuc/menu_sys.def        Fri May 09 10:21:43 2003 +0000
+++ b/usr.bin/menuc/menu_sys.def        Fri May 09 10:24:50 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menu_sys.def,v 1.33 2003/05/08 16:20:57 dsl Exp $      */
+/*     $NetBSD: menu_sys.def,v 1.34 2003/05/09 10:24:50 dsl Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -313,7 +313,7 @@
 /*ARGSUSED*/
 process_help (struct menudesc *m, int num)
 {
-       char *help = m->helpstr;
+       const char *help = m->helpstr;
        int lineoff = 0;
        int curoff = 0;
        int again;



Home | Main Index | Thread Index | Old Index