From aed62058317e06c5ae9d156f8a5b361a37efbdd5 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 22 Jan 2011 16:55:59 +0000 Subject: Declaration of 'pause' from chessclock is redeclared as different kind of symbol by android-ndk-r5 Flyspray: FS#11900 Author: Benjamin Brown git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29112 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/chessclock.c | 14 +++++++------- docs/CREDITS | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/apps/plugins/chessclock.c b/apps/plugins/chessclock.c index 1fd01d38f6..d50310f46f 100644 --- a/apps/plugins/chessclock.c +++ b/apps/plugins/chessclock.c @@ -372,7 +372,7 @@ static int chessclock_set_int(char* string, static char * show_time(int secs); -static bool pause; +static bool chesspause; #define MAX_TIME 7200 @@ -436,7 +436,7 @@ enum plugin_status plugin_start(const void* parameter) timer_holder[i].hidden=false; } - pause=true; /* We start paused */ + chesspause=true; /* We start paused */ nr=0; do { @@ -511,7 +511,7 @@ static int run_timer(int nr) long ticks=0; bool round_time=false; - show_pause_mode(pause); + show_pause_mode(chesspause); if (settings.round_time*HZcurrent_tick; - if (!pause) { + if (!chesspause) { ticks+=now-last_tick; if ((max_ticks-ticks)/HZ == 10) { /* Backlight on if 10 seconds remain */ @@ -565,8 +565,8 @@ static int run_timer(int nr) /* PLAY = Stop/Start toggle */ case CHC_STARTSTOP: - pause=!pause; - show_pause_mode(pause); + chesspause=!chesspause; + show_pause_mode(chesspause); break; /* LEFT = Reset timer */ @@ -633,7 +633,7 @@ static int run_timer(int nr) break; } rb->lcd_clear_display(); - show_pause_mode(pause); + show_pause_mode(chesspause); rb->lcd_puts(0, FIRST_LINE, (unsigned char *)player_info); } break; diff --git a/docs/CREDITS b/docs/CREDITS index 3d2b90e203..7c460564c5 100644 --- a/docs/CREDITS +++ b/docs/CREDITS @@ -581,6 +581,7 @@ Will Sowerbutts Gabriel Maia Robert Horn Ante Maretic +Benjamin Brown The libmad team The wavpack team -- cgit v1.2.3