Source-Changes-HG archive

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

[src/trunk]: src/games/warp avoid duplicating symbols in libterminfo.



details:   https://anonhg.NetBSD.org/src/rev/1e1cb79ba71e
branches:  trunk
changeset: 961247:1e1cb79ba71e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Apr 13 08:06:38 2021 +0000

description:
avoid duplicating symbols in libterminfo.

diffstat:

 games/warp/term.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (25 lines):

diff -r 99afa31961e5 -r 1e1cb79ba71e games/warp/term.h
--- a/games/warp/term.h Tue Apr 13 08:06:11 2021 +0000
+++ b/games/warp/term.h Tue Apr 13 08:06:38 2021 +0000
@@ -252,8 +252,10 @@
  */
 
 #ifdef HAVETERMLIB
+#if 0
 EXT char *BC INIT(NULL);               /* backspace character */
 EXT char *UP INIT(NULL);               /* move cursor up one line */
+#endif
 EXT char *myUP;
 EXT char *ND INIT(NULL);               /* non-destructive cursor right */
 EXT char *myND;
@@ -275,8 +277,10 @@
 EXT int UG INIT(0);            /* blanks left by US and UE */
 EXT bool AM INIT(false);               /* does terminal have automatic margins? */
 EXT bool XN INIT(false);               /* does it eat 1st newline after automatic wrap? */
+#if 0
 EXT char PC INIT(0);           /* pad character for use by tputs() */
 EXT short ospeed INIT(0);      /* terminal output speed, for use by tputs() */
+#endif
 EXT int LINES INIT(0), COLS INIT(0);   /* size of screen */
 EXT int just_a_sec INIT(960);                  /* 1 sec at current baud rate */
                                        /* (number of nulls) */



Home | Main Index | Thread Index | Old Index