From 626903439b2df287fd31ab00fa78eea25ae0a22d Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 2 Jun 2002 22:17:37 +0000 Subject: de-register --- tetris/shapes.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tetris/shapes.c') diff --git a/tetris/shapes.c b/tetris/shapes.c index 86f249cc..32c78148 100644 --- a/tetris/shapes.c +++ b/tetris/shapes.c @@ -1,4 +1,4 @@ -/* $NetBSD: shapes.c,v 1.4 1999/09/08 21:18:01 jsm Exp $ */ +/* $NetBSD: shapes.c,v 1.5 2002/06/02 22:17:38 wiz Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -85,9 +85,9 @@ const struct shape shapes[] = { int fits_in(shape, pos) const struct shape *shape; - register int pos; + int pos; { - register int *o = shape->off; + int *o = shape->off; if (board[pos] || board[pos + *o++] || board[pos + *o++] || board[pos + *o]) @@ -102,9 +102,9 @@ fits_in(shape, pos) void place(shape, pos, onoff) const struct shape *shape; - register int pos, onoff; + int pos, onoff; { - register int *o = shape->off; + int *o = shape->off; board[pos] = onoff; board[pos + *o++] = onoff; -- cgit v1.2.3