From 9d383101c9f7f163fca89a9554045531d3c19475 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 30 Aug 1999 08:01:12 +0000 Subject: [PATCH] The ospeed hackery was disabled a while ago, finish the job. --- games/hack/hack.termcap.c | 4 ---- games/hack/hack.tty.c | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/games/hack/hack.termcap.c b/games/hack/hack.termcap.c index f9acb33b1f6f..bc90c6539e66 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 cd3a32341310..bc225071c5e5 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();