Source-Changes-HG archive

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

[src/trunk]: src/lib/libterminfo Allow terminfo users to update flag and nume...



details:   https://anonhg.NetBSD.org/src/rev/c1b5bd5d266c
branches:  trunk
changeset: 822507:c1b5bd5d266c
user:      roy <roy%NetBSD.org@localhost>
date:      Thu Mar 23 00:39:06 2017 +0000

description:
Allow terminfo users to update flag and numeric capabilities as they do
strings.

diffstat:

 lib/libterminfo/term.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r fb2e27d6dac7 -r c1b5bd5d266c lib/libterminfo/term.h
--- a/lib/libterminfo/term.h    Thu Mar 23 00:36:37 2017 +0000
+++ b/lib/libterminfo/term.h    Thu Mar 23 00:39:06 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: term.h,v 1.21 2017/03/23 00:36:37 roy Exp $ */
+/* $NetBSD: term.h,v 1.22 2017/03/23 00:39:06 roy Exp $ */
 
 /*
  * Copyright (c) 2009, 2010, 2011, 2013 The NetBSD Foundation, Inc.
@@ -1933,8 +1933,8 @@
        /* We need to expose these so that the macros work */
        const char *name;
        const char *desc;
-       const signed char *flags;
-       const short *nums;
+       signed char *flags;
+       short *nums;
        const char **strs;
 } TERMINAL;
 #endif



Home | Main Index | Thread Index | Old Index