summaryrefslogtreecommitdiffstats
path: root/tetris/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'tetris/input.c')
-rw-r--r--tetris/input.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/tetris/input.c b/tetris/input.c
index 26772cda..b21ad834 100644
--- a/tetris/input.c
+++ b/tetris/input.c
@@ -1,4 +1,4 @@
-/* $NetBSD: input.c,v 1.3 1996/02/06 22:47:33 jtc Exp $ */
+/* $NetBSD: input.c,v 1.4 1999/01/03 02:00:17 hubertf Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -137,20 +137,6 @@ tsleep()
}
/*
- * Eat up any input (used at end of game).
- */
-void
-eat_input()
-{
- struct timeval tv;
- char c;
-
- do {
- tv.tv_sec = tv.tv_usec = 0;
- } while (rwait(&tv) && read(0, &c, 1) == 1);
-}
-
-/*
* getchar with timeout.
*/
int