From: H.G. Muller Date: Thu, 7 Jan 2010 18:05:17 +0000 (+0100) Subject: Harmonize declarations of XBoard and WinBoard X-Git-Tag: hgm-4.20100107~1 X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=07cfdeda60ba210bb2367065671f0ad539ddbfe0 Harmonize declarations of XBoard and WinBoard The engine-exit and settings patches make some stuff common to WinBoard and XBoard, which needed to be harmonized, and is moved to frontend.h. --- diff --git a/frontend.h b/frontend.h index ea2f842..3e3e0b4 100644 --- a/frontend.h +++ b/frontend.h @@ -209,5 +209,6 @@ void EvalGraphPopUp P((void)); void EvalGraphPopDown P((void)); Boolean EvalGraphIsUp P((void)); int EvalGraphDialogExists P((void)); +Boolean MoveHistoryIsUp P((void)); #endif diff --git a/winboard/whistory.c b/winboard/whistory.c index 933359c..0a42f18 100644 --- a/winboard/whistory.c +++ b/winboard/whistory.c @@ -452,7 +452,7 @@ VOID MoveHistorySet( char movelist[][2*MOVE_LEN], int first, int last, int curre } } -BOOL MoveHistoryIsUp() +Boolean MoveHistoryIsUp() { return moveHistoryDialogUp; } diff --git a/winboard/winboard.c b/winboard/winboard.c index 7c8142c..b4196e5 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -153,6 +153,7 @@ char *programName; char *settingsFileName; Boolean saveSettingsOnExit; char installDir[MSG_SIZ]; +int errorExitStatus; BoardSize boardSize; Boolean chessProgram; diff --git a/xboard.c b/xboard.c index 74a6ff9..a10fd32 100644 --- a/xboard.c +++ b/xboard.c @@ -1260,7 +1260,6 @@ BoardToTop() #define SEPCHAR " " // these two must some day move to frontend.h, when they are implemented -Boolean MoveHistoryIsUp(); Boolean GameListIsUp(); // The option definition and parsing code common to XBoard and WinBoard is collected in this file