diff options
author | peter <peter@FreeBSD.org> | 1999-08-30 08:01:12 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-08-30 08:01:12 +0000 |
commit | 9d383101c9f7f163fca89a9554045531d3c19475 (patch) | |
tree | 7c65600d369e698ea655f2fffea303cd413f3b2b /games | |
parent | 28ca28a57902fe74c7807cc9093f3f2e7d00596f (diff) | |
download | FreeBSD-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.c | 4 | ||||
-rw-r--r-- | 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 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(); |