mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
add missing consts
This commit is contained in:
parent
94f7e13468
commit
4aee08b8d4
2 changed files with 4 additions and 4 deletions
|
@ -683,7 +683,7 @@ gi_setDict( MPFORMAL CurGameInfo* gi, const DictionaryCtxt* dict )
|
|||
#endif
|
||||
|
||||
XP_Bool
|
||||
player_hasPasswd( LocalPlayer* player )
|
||||
player_hasPasswd( const LocalPlayer* player )
|
||||
{
|
||||
XP_UCHAR* password = player->password;
|
||||
/* XP_ASSERT( player->isLocal ); */
|
||||
|
@ -691,7 +691,7 @@ player_hasPasswd( LocalPlayer* player )
|
|||
} /* player_hasPasswd */
|
||||
|
||||
XP_Bool
|
||||
player_passwordMatches( LocalPlayer* player, const XP_UCHAR* buf )
|
||||
player_passwordMatches( const LocalPlayer* player, const XP_UCHAR* buf )
|
||||
{
|
||||
XP_ASSERT( player->isLocal );
|
||||
|
||||
|
|
|
@ -99,8 +99,8 @@ void gi_readFromStream( MPFORMAL XWStreamCtxt* stream, CurGameInfo* gi );
|
|||
void gi_copy( MPFORMAL CurGameInfo* destGI, const CurGameInfo* srcGi );
|
||||
XP_U16 gi_countLocalPlayers( const CurGameInfo* gi, XP_Bool humanOnly );
|
||||
|
||||
XP_Bool player_hasPasswd( LocalPlayer* player );
|
||||
XP_Bool player_passwordMatches( LocalPlayer* player, const XP_UCHAR* pwd );
|
||||
XP_Bool player_hasPasswd( const LocalPlayer* player );
|
||||
XP_Bool player_passwordMatches( const LocalPlayer* player, const XP_UCHAR* pwd );
|
||||
XP_U16 player_timePenalty( CurGameInfo* gi, XP_U16 playerNum );
|
||||
|
||||
#ifdef CPLUS
|
||||
|
|
Loading…
Reference in a new issue