From 1bd61fb54c34405648439ff594fd701b27dbc4fa Mon Sep 17 00:00:00 2001 From: dholland Date: Mon, 25 May 2009 04:33:53 +0000 Subject: 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.) --- tetris/shapes.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'tetris/shapes.c') 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; -- cgit v1.2.3