summaryrefslogtreecommitdiff
path: root/games/tetris/shapes.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-10 07:26:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-10 07:26:25 +0000
commit81fbdc5dca4ba4f9673c612f03fede15c8ad3f91 (patch)
treebb4eddffc1438ca1405dde0867782c5b37066a26 /games/tetris/shapes.c
parent123f3b7651527e3cd41a6956ecd641c00442b6c7 (diff)
more ansi; khalek@linuxgamers.net
Diffstat (limited to 'games/tetris/shapes.c')
-rw-r--r--games/tetris/shapes.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/games/tetris/shapes.c b/games/tetris/shapes.c
index fe59deed073..05ea602f06b 100644
--- a/games/tetris/shapes.c
+++ b/games/tetris/shapes.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: shapes.c,v 1.7 2003/06/03 03:01:41 millert Exp $ */
+/* $OpenBSD: shapes.c,v 1.8 2004/07/10 07:26:24 deraadt Exp $ */
/* $NetBSD: shapes.c,v 1.2 1995/04/22 07:42:44 cgd Exp $ */
/*-
@@ -80,9 +80,7 @@ const struct shape shapes[] = {
* taking the current board into account.
*/
int
-fits_in(shape, pos)
- const struct shape *shape;
- int pos;
+fits_in(const struct shape *shape, int pos)
{
int *o = shape->off;
@@ -97,9 +95,7 @@ fits_in(shape, pos)
* if `onoff' is 1, and off if `onoff' is 0.
*/
void
-place(shape, pos, onoff)
- const struct shape *shape;
- int pos, onoff;
+place(const struct shape *shape, int pos, int onoff)
{
int *o = shape->off;