summaryrefslogtreecommitdiffstats
path: root/lib/libcurses
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-10-28 23:27:00 +0000
committerache <ache@FreeBSD.org>1994-10-28 23:27:00 +0000
commiteed5b939fd9f3ccb7435477d55f4fb61923064d0 (patch)
treeb39993461bb6b5da2147f19579ba16e87739ddca /lib/libcurses
parent1f66985bdc3ba17ee27f769cb6fdc143bd138d96 (diff)
downloadFreeBSD-src-eed5b939fd9f3ccb7435477d55f4fb61923064d0.zip
FreeBSD-src-eed5b939fd9f3ccb7435477d55f4fb61923064d0.tar.gz
After some thinking better place to fix appearse curses again, not
vi(1). Remove DB from curses.h and still implement it provide this variable for programs that expect it in any case.
Diffstat (limited to 'lib/libcurses')
-rw-r--r--lib/libcurses/refresh.c2
-rw-r--r--lib/libcurses/setterm.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/libcurses/refresh.c b/lib/libcurses/refresh.c
index 4cb87a3..ab834f0 100644
--- a/lib/libcurses/refresh.c
+++ b/lib/libcurses/refresh.c
@@ -39,6 +39,8 @@ static char sccsid[] = "@(#)refresh.c 8.4 (Berkeley) 8/4/94";
#include "curses.h"
+extern char DB;
+
static int curwin;
static short ly, lx;
diff --git a/lib/libcurses/setterm.c b/lib/libcurses/setterm.c
index ddb5871..5761cfe 100644
--- a/lib/libcurses/setterm.c
+++ b/lib/libcurses/setterm.c
@@ -44,6 +44,8 @@ static char sccsid[] = "@(#)setterm.c 8.7 (Berkeley) 7/27/94";
#include "curses.h"
+extern char DB;
+
#undef ospeed
extern short ospeed;
OpenPOWER on IntegriCloud