diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-07-26 21:33:29 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-07-26 21:33:29 +0000 |
commit | 593989ca06e239c26d8b2fe773d4e69a53195c5b (patch) | |
tree | 2934d8465183f22231a3bd188c58b087178c9db5 /games/tetris/screen.c | |
parent | 43770fd2c09d8d82eaad23392e0ecf01beec04da (diff) |
give it some healthy dosage of vitamin const
Diffstat (limited to 'games/tetris/screen.c')
-rw-r--r-- | games/tetris/screen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/tetris/screen.c b/games/tetris/screen.c index d345dbe4a49..47864a69263 100644 --- a/games/tetris/screen.c +++ b/games/tetris/screen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screen.c,v 1.9 2002/07/26 20:19:22 mickey Exp $ */ +/* $OpenBSD: screen.c,v 1.10 2002/07/26 21:33:28 mickey Exp $ */ /* $NetBSD: screen.c,v 1.4 1995/04/29 01:11:36 mycroft Exp $ */ /*- @@ -94,7 +94,7 @@ static int MSflag; /* can move in standout mode */ -struct tcsinfo { /* termcap string info; some abbrevs above */ +struct tcsinfo { /* termcap string info; some abbrevs above */ char tcname[3]; char **tcaddr; } tcstrings[] = { @@ -374,7 +374,7 @@ scr_update() regcell so, cur_so = 0; int i, ccol, j; sigset_t sigset, osigset; - static struct shape *lastshape; + static const struct shape *lastshape; sigemptyset(&sigset); sigaddset(&sigset, SIGTSTP); |