From 0f18efb9256fcbdfc753f037c265cd80d255650d Mon Sep 17 00:00:00 2001 From: ehouse Date: Tue, 11 Mar 2008 12:28:57 +0000 Subject: [PATCH] Make function static --- common/board.c | 2 +- common/boardp.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/common/board.c b/common/board.c index 95c5c2153..204b5809f 100644 --- a/common/board.c +++ b/common/board.c @@ -2525,7 +2525,7 @@ holdsPendingTile( BoardCtxt* board, XP_U16 pencol, XP_U16 penrow ) * return it to the tray. But don't do this in drag-and-drop case since it's * too easy to accidentally tap and there are better ways. */ -XP_Bool +static XP_Bool tryReplaceTile( BoardCtxt* board, XP_U16 pencol, XP_U16 penrow ) { XP_Bool result = XP_FALSE; diff --git a/common/boardp.h b/common/boardp.h index 7e44d7683..983251f3e 100644 --- a/common/boardp.h +++ b/common/boardp.h @@ -219,7 +219,6 @@ void invalDragObj( BoardCtxt* board, const DragObjInfo* di ); void invalTrayTilesAbove( BoardCtxt* board, XP_U16 tileIndex ); void invalTrayTilesBetween( BoardCtxt* board, XP_U16 tileIndex1, XP_U16 tileIndex2 ); -XP_Bool tryReplaceTile( BoardCtxt* board, XP_U16 pencol, XP_U16 penrow ); void moveTileInTray( BoardCtxt* board, XP_U16 moveTo, XP_U16 moveFrom ); XP_UCHAR* getTileDrawInfo( const BoardCtxt* board, Tile tile, XP_Bool isBlank, XP_Bitmap* bitmap, XP_S16* value,