summaryrefslogtreecommitdiffstats
path: root/tetris/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'tetris/input.c')
-rw-r--r--tetris/input.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/tetris/input.c b/tetris/input.c
index cd4d431e..e5f8c12a 100644
--- a/tetris/input.c
+++ b/tetris/input.c
@@ -1,4 +1,4 @@
-/* $NetBSD: input.c,v 1.10 2006/03/19 00:50:28 christos Exp $ */
+/* $NetBSD: input.c,v 1.11 2009/05/25 04:33:53 dholland Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -72,8 +72,7 @@
* Return 0 => no input, 1 => can read() from stdin
*/
int
-rwait(tvp)
- struct timeval *tvp;
+rwait(struct timeval *tvp)
{
struct pollfd set[1];
struct timeval starttv, endtv;
@@ -120,7 +119,7 @@ again:
* Eat any input that might be available.
*/
void
-tsleep()
+tsleep(void)
{
struct timeval tv;
char c;
@@ -136,7 +135,7 @@ tsleep()
* getchar with timeout.
*/
int
-tgetchar()
+tgetchar(void)
{
static struct timeval timeleft;
char c;