git.shiar.nl
/
netris.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
declaration cleanup
[netris.git]
/
board.c
diff --git
a/board.c
b/board.c
index 22efdc166ab1425e52eeba7d9c4174ba624266ac..cd1bc2834c7c0bb717474f869def09ab4a34898f 100644
(file)
--- a/
board.c
+++ b/
board.c
@@
-149,7
+149,7
@@
unsigned char GetBlock(int scr, int y, int x)
return board[scr][y][x];
}
-void SetBlock(int scr, int y, int x, unsigned char type)
+
static
void SetBlock(int scr, int y, int x, unsigned char type)
{
if (y >= 0 && y < Players[scr].boardHeight
&& x >= 0 && x < Players[scr].boardWidth) {