summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-08-30 08:01:12 +0000
committerpeter <peter@FreeBSD.org>1999-08-30 08:01:12 +0000
commit9d383101c9f7f163fca89a9554045531d3c19475 (patch)
tree7c65600d369e698ea655f2fffea303cd413f3b2b /games
parent28ca28a57902fe74c7807cc9093f3f2e7d00596f (diff)
downloadFreeBSD-src-9d383101c9f7f163fca89a9554045531d3c19475.zip
FreeBSD-src-9d383101c9f7f163fca89a9554045531d3c19475.tar.gz
The ospeed hackery was disabled a while ago, finish the job.
Diffstat (limited to 'games')
-rw-r--r--games/hack/hack.termcap.c4
-rw-r--r--games/hack/hack.tty.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/games/hack/hack.termcap.c b/games/hack/hack.termcap.c
index f9acb33..bc90c65 100644
--- a/games/hack/hack.termcap.c
+++ b/games/hack/hack.termcap.c
@@ -9,10 +9,6 @@
#include "def.flag.h" /* for flags.nonull */
extern long *alloc();
-#ifndef lint
-extern /* it is defined in libtermlib (libtermcap) */
-#endif lint
- short ospeed; /* terminal baudrate; used by tputs */
static char tbuf[512];
static char *HO, *CL, *CE, *UP, *CM, *ND, *XD, *BC, *SO, *SE, *TI, *TE;
static char *VS, *VE;
diff --git a/games/hack/hack.tty.c b/games/hack/hack.tty.c
index cd3a323..bc22507 100644
--- a/games/hack/hack.tty.c
+++ b/games/hack/hack.tty.c
@@ -96,7 +96,9 @@ static char sccsid[] = "@(#)hack.tty.c 8.1 (Berkeley) 5/31/93";
#endif USG
+#if 0
extern short ospeed;
+#endif
static char erase_char, kill_char;
static boolean settty_needed = FALSE;
struct termstruct inittyb, curttyb;
@@ -110,7 +112,9 @@ gettty(){
if(GTTY(&inittyb) < 0)
perror("Hack (gettty)");
curttyb = inittyb;
+#if 0
ospeed = OSPEED(inittyb);
+#endif
erase_char = inittyb.erase_sym;
kill_char = inittyb.kill_sym;
getioctls();
OpenPOWER on IntegriCloud