summaryrefslogtreecommitdiffstats
path: root/hack/hack.tty.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2001-02-05 00:37:43 +0000
committerchristos <christos@NetBSD.org>2001-02-05 00:37:43 +0000
commitdfc4e173d46d915ee76e5e481a35c6ce6c385633 (patch)
tree8a1aba09a64bec7fa75d106118c7ef0a7faff206 /hack/hack.tty.c
parent005f15c78e408f76e79e10fe47c2b0a59f754c02 (diff)
downloadbsdgames-darwin-dfc4e173d46d915ee76e5e481a35c6ce6c385633.tar.gz
bsdgames-darwin-dfc4e173d46d915ee76e5e481a35c6ce6c385633.tar.zst
bsdgames-darwin-dfc4e173d46d915ee76e5e481a35c6ce6c385633.zip
fix redundant decls and nested externs. while I am here change my copyright
to TNF.
Diffstat (limited to 'hack/hack.tty.c')
-rw-r--r--hack/hack.tty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.tty.c b/hack/hack.tty.c
index f979e903..aa684692 100644
--- a/hack/hack.tty.c
+++ b/hack/hack.tty.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.tty.c,v 1.7 2000/07/10 10:19:25 itojun Exp $ */
+/* $NetBSD: hack.tty.c,v 1.8 2001/02/05 00:37:43 christos Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)hack.tty.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: hack.tty.c,v 1.7 2000/07/10 10:19:25 itojun Exp $");
+__RCSID("$NetBSD: hack.tty.c,v 1.8 2001/02/05 00:37:43 christos Exp $");
#endif
#endif /* not lint */
@@ -50,6 +50,7 @@ __RCSID("$NetBSD: hack.tty.c,v 1.7 2000/07/10 10:19:25 itojun Exp $");
*/
#include <termios.h>
+#include <termcap.h>
#include "hack.h"
#include "extern.h"
@@ -73,7 +74,6 @@ struct termios inittyb, curttyb;
void
gettty()
{
- extern speed_t ospeed;
if (tcgetattr(0, &inittyb) < 0)
perror("Hack (gettty)");
curttyb = inittyb;