diff options
author | ache <ache@FreeBSD.org> | 1994-10-06 21:05:23 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-10-06 21:05:23 +0000 |
commit | dbd2b6665c27bd5ee1a1b627060085c53d581b06 (patch) | |
tree | cac2d1999dff2bbfabeabfff01c24b87b786340b /lib | |
parent | 209ca98331dda5d6dc429fc32c57c01b54fb11d9 (diff) | |
download | FreeBSD-src-dbd2b6665c27bd5ee1a1b627060085c53d581b06.zip FreeBSD-src-dbd2b6665c27bd5ee1a1b627060085c53d581b06.tar.gz |
Back out ospeed change (why all bugs discovered immediately _after_ commits
and no one before?)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcurses/setterm.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libcurses/setterm.c b/lib/libcurses/setterm.c index 4a89499..ab84e9d 100644 --- a/lib/libcurses/setterm.c +++ b/lib/libcurses/setterm.c @@ -44,10 +44,8 @@ static char sccsid[] = "@(#)setterm.c 8.7 (Berkeley) 7/27/94"; #include "curses.h" -#ifndef __FreeBSD__ #undef ospeed extern short ospeed; -#endif static void zap __P((void)); @@ -156,7 +154,7 @@ setterm(type) CA = 1; PC = _PC ? _PC[0] : 0; -#ifndef __FreeBSD__ + switch(cfgetospeed(&__baset)) { case B0: ospeed = 0; break; case B50: ospeed = 1; break; @@ -185,7 +183,7 @@ setterm(type) case B115200: ospeed = 17; break; #endif } -#endif /* __FreeBSD__ */ + aoftspace = tspace; ttytype = longname(genbuf, __ttytype); |