Harmonize declarations of XBoard and WinBoard
authorH.G. Muller <h.g.muller@hccnet.nl>
Thu, 7 Jan 2010 18:05:17 +0000 (19:05 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Thu, 7 Jan 2010 18:05:17 +0000 (19:05 +0100)
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.

frontend.h
winboard/whistory.c
winboard/winboard.c
xboard.c

index ea2f842..3e3e0b4 100644 (file)
@@ -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
index 933359c..0a42f18 100644 (file)
@@ -452,7 +452,7 @@ VOID MoveHistorySet( char movelist[][2*MOVE_LEN], int first, int last, int curre
     }\r
 }\r
 \r
-BOOL MoveHistoryIsUp()\r
+Boolean MoveHistoryIsUp()\r
 {\r
     return moveHistoryDialogUp;\r
 }\r
index 7c8142c..b4196e5 100644 (file)
@@ -153,6 +153,7 @@ char *programName;
 char *settingsFileName;\r
 Boolean saveSettingsOnExit;\r
 char installDir[MSG_SIZ];\r
+int errorExitStatus;\r
 \r
 BoardSize boardSize;\r
 Boolean chessProgram;\r
index 74a6ff9..a10fd32 100644 (file)
--- 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