summaryrefslogtreecommitdiffstats
path: root/tetris
diff options
context:
space:
mode:
Diffstat (limited to 'tetris')
-rw-r--r--tetris/screen.c6
-rw-r--r--tetris/screen.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/tetris/screen.c b/tetris/screen.c
index f27fb552..194c4f2f 100644
--- a/tetris/screen.c
+++ b/tetris/screen.c
@@ -1,4 +1,4 @@
-/* $NetBSD: screen.c,v 1.12 1999/09/08 21:45:31 jsm Exp $ */
+/* $NetBSD: screen.c,v 1.13 1999/10/04 23:27:03 lukem Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -127,12 +127,12 @@ static char combuf[1024], tbuf[1024];
/*
* Routine used by tputs().
*/
-void
+int
put(c)
int c;
{
- (void) putchar(c);
+ return (putchar(c));
}
/*
diff --git a/tetris/screen.h b/tetris/screen.h
index 319e356d..d17544cb 100644
--- a/tetris/screen.h
+++ b/tetris/screen.h
@@ -1,4 +1,4 @@
-/* $NetBSD: screen.h,v 1.3 1997/10/14 01:14:34 lukem Exp $ */
+/* $NetBSD: screen.h,v 1.4 1999/10/04 23:27:03 lukem Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -49,7 +49,7 @@ char *SOstr; /* begin standout mode */
*/
#define putpad(s) tputs(s, 1, put)
-void put __P((int)); /* just calls putchar; for tputs */
+int put __P((int)); /* just calls putchar; for tputs */
void scr_clear __P((void));
void scr_end __P((void));
void scr_init __P((void));