]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - tetris/input.c
#netbsd - where monks recite their internal dialogue while debugging.
[bsdgames-darwin.git] / tetris / input.c
index 26772cdad61cffe54f299f196afc0df174a055e7..b21ad834527241251b5fd040f17a684304d60114 100644 (file)
@@ -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
@@ -136,20 +136,6 @@ tsleep()
                        break;
 }
 
-/*
- * 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.
  */