add some consts

This commit is contained in:
Eric House 2015-07-06 20:23:22 -07:00
parent 3a896df199
commit 33d0db93e8
4 changed files with 4 additions and 4 deletions

View file

@ -609,7 +609,7 @@ board_getScale( BoardCtxt* board, XP_U16* hScale, XP_U16* vScale )
#endif
XP_Bool
board_prefsChanged( BoardCtxt* board, CommonPrefs* cp )
board_prefsChanged( BoardCtxt* board, const CommonPrefs* cp )
{
XP_Bool showArrowChanged;
XP_Bool hideValChanged;

View file

@ -156,7 +156,7 @@ XP_Bool board_requestHint( BoardCtxt* board,
#endif
XP_Bool usePrev, XP_Bool* workRemainsP );
XP_Bool board_prefsChanged( BoardCtxt* board, CommonPrefs* cp );
XP_Bool board_prefsChanged( BoardCtxt* board, const CommonPrefs* cp );
BoardObjectType board_getFocusOwner( BoardCtxt* board );

View file

@ -546,7 +546,7 @@ figureSleepTime( const ServerCtxt* server )
#endif
void
server_prefsChanged( ServerCtxt* server, CommonPrefs* cp )
server_prefsChanged( ServerCtxt* server, const CommonPrefs* cp )
{
server->nv.showRobotScores = cp->showRobotScores;
server->nv.sortNewTiles = cp->sortNewTiles;

View file

@ -67,7 +67,7 @@ void server_writeToStream( const ServerCtxt* server, XWStreamCtxt* stream );
void server_reset( ServerCtxt* server, CommsCtxt* comms );
void server_destroy( ServerCtxt* server );
void server_prefsChanged( ServerCtxt* server, CommonPrefs* cp );
void server_prefsChanged( ServerCtxt* server, const CommonPrefs* cp );
typedef void (*TurnChangeListener)( void* data );
void server_setTurnChangeListener( ServerCtxt* server, TurnChangeListener tl,