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;