diff options
author | lukem <lukem@NetBSD.org> | 1999-10-04 23:26:59 +0000 |
---|---|---|
committer | lukem <lukem@NetBSD.org> | 1999-10-04 23:26:59 +0000 |
commit | 36a67d38f8e835f867ca232e5baa4965bf1fd405 (patch) | |
tree | a4003f08f7ef5a5ccf409deee5a69d166b6d6fb0 /tetris | |
parent | 66dcf6ac131bfb208ed57aa184d0e385386590ee (diff) | |
download | bsdgames-darwin-36a67d38f8e835f867ca232e5baa4965bf1fd405.tar.gz bsdgames-darwin-36a67d38f8e835f867ca232e5baa4965bf1fd405.tar.zst bsdgames-darwin-36a67d38f8e835f867ca232e5baa4965bf1fd405.zip |
update after change to return value of tputs() third argument
Diffstat (limited to 'tetris')
-rw-r--r-- | tetris/screen.c | 6 | ||||
-rw-r--r-- | tetris/screen.h | 4 |
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)); |