From c0d678dc8305837d6d746601b2e97021a345daba Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Fri, 28 Oct 1994 23:38:18 +0000 Subject: [PATCH] Finally move DB declaration under _CURSES_PRIVATE --- lib/libcurses/curses.h | 1 + lib/libcurses/refresh.c | 2 -- lib/libcurses/setterm.c | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/libcurses/curses.h b/lib/libcurses/curses.h index 62d9bc567e21..1e7a8b81c5bd 100644 --- a/lib/libcurses/curses.h +++ b/lib/libcurses/curses.h @@ -367,6 +367,7 @@ int __waddch __P((WINDOW *, __LDATA *)); #define max(a,b) (a > b ? a : b) /* Private externs. */ +extern char DB; extern int __echoit; extern int __endwin; extern int __pfast; diff --git a/lib/libcurses/refresh.c b/lib/libcurses/refresh.c index ab834f007a9f..4cb87a3a760c 100644 --- a/lib/libcurses/refresh.c +++ b/lib/libcurses/refresh.c @@ -39,8 +39,6 @@ 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 5761cfef323b..ddb5871e4a80 100644 --- a/lib/libcurses/setterm.c +++ b/lib/libcurses/setterm.c @@ -44,8 +44,6 @@ static char sccsid[] = "@(#)setterm.c 8.7 (Berkeley) 7/27/94"; #include "curses.h" -extern char DB; - #undef ospeed extern short ospeed;