diff --git a/lib/libcurses/curses.h b/lib/libcurses/curses.h index 1142ca5a894d..49982c43d77f 100644 --- a/lib/libcurses/curses.h +++ b/lib/libcurses/curses.h @@ -98,7 +98,6 @@ #define erasechar() (__baset.c_cc[VERASE]) #define killchar() (__baset.c_cc[VKILL]) #define nocrmode() nocbreak() -#define ospeed (cfgetospeed(&__baset)) /* WINDOW structure members name compatibility */ #define _curx curx diff --git a/lib/libcurses/setterm.c b/lib/libcurses/setterm.c index 3ebb5cd7ecde..14ce6ee37e6b 100644 --- a/lib/libcurses/setterm.c +++ b/lib/libcurses/setterm.c @@ -44,9 +44,6 @@ static char sccsid[] = "@(#)setterm.c 8.7 (Berkeley) 7/27/94"; #include "curses.h" -#undef ospeed -extern short ospeed; - static void zap __P((void)); static char *sflags[] = { @@ -155,8 +152,6 @@ setterm(type) PC = _PC ? _PC[0] : 0; - _set_ospeed(cfgetospeed(&__baset)); - aoftspace = tspace; ttytype = longname(genbuf, __ttytype);