diff options
| author | dholland <dholland@NetBSD.org> | 2009-05-25 04:33:53 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2009-05-25 04:33:53 +0000 |
| commit | 1bd61fb54c34405648439ff594fd701b27dbc4fa (patch) | |
| tree | 5d099362f463682a5e7098beb2a75a6ccfe101a1 /tetris/shapes.c | |
| parent | c18a2b81cd2cb991ea919bb6baa6982899dc590c (diff) | |
| download | bsdgames-darwin-1bd61fb54c34405648439ff594fd701b27dbc4fa.tar.gz bsdgames-darwin-1bd61fb54c34405648439ff594fd701b27dbc4fa.zip | |
ANSIfy function declarations.
Some object file diffs, but they are harmless. (Mostly they seem to
come from internal counters in gcc... and in one case the order of two
instructions was harmlessly swapped, which is odd and annoying.)
Diffstat (limited to 'tetris/shapes.c')
| -rw-r--r-- | tetris/shapes.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tetris/shapes.c b/tetris/shapes.c index 9fb3ae27..0ab43106 100644 --- a/tetris/shapes.c +++ b/tetris/shapes.c @@ -1,4 +1,4 @@ -/* $NetBSD: shapes.c,v 1.7 2006/10/22 08:09:24 mrg Exp $ */ +/* $NetBSD: shapes.c,v 1.8 2009/05/25 04:33:53 dholland Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -79,9 +79,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) { const int *o = shape->off; @@ -96,9 +94,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) { const int *o = shape->off; |
