Remove _set_ospeed, it is done in tgetent now
Remove ospeed redefinition from header file
This commit is contained in:
parent
cc3c7e3860
commit
7ab853dd03
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user