Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/menuc Revert part of previous, and remove "const" fr...
details: https://anonhg.NetBSD.org/src/rev/48317087e281
branches: trunk
changeset: 546943:48317087e281
user: lukem <lukem%NetBSD.org@localhost>
date: Fri May 09 12:07:53 2003 +0000
description:
Revert part of previous, and remove "const" from "char *opt_name" and
"char *title", since it causes compile problems for the only program
that uses menuc (sysinst).
diffstat:
usr.bin/menuc/mdb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 78f0b3918ddf -r 48317087e281 usr.bin/menuc/mdb.c
--- a/usr.bin/menuc/mdb.c Fri May 09 11:58:21 2003 +0000
+++ b/usr.bin/menuc/mdb.c Fri May 09 12:07:53 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mdb.c,v 1.27 2003/05/09 10:21:43 dsl Exp $ */
+/* $NetBSD: mdb.c,v 1.28 2003/05/09 12:07:53 lukem Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -166,7 +166,7 @@
"struct menudesc;\n"
"typedef\n"
"struct menu_ent {\n"
- " const char *opt_name;\n"
+ " char *opt_name;\n"
" int opt_menu;\n"
" int opt_flags;\n"
" int (*opt_action)(struct menudesc *);\n"
@@ -177,7 +177,7 @@
"#define OPT_NOMENU -1\n\n"
"typedef\n"
"struct menudesc {\n"
- " const char *title;\n"
+ " char *title;\n"
" int y, x;\n"
" int h, w;\n"
" int mopt;\n"
Home |
Main Index |
Thread Index |
Old Index