diff --git a/games/hack/hack.termcap.c b/games/hack/hack.termcap.c index f9acb33b1f6..bc90c6539e6 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 cd3a3234131..bc225071c5e 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();