From 24e290d23d9be7bfc246940db91011e46ad480e5 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 18 Mar 2012 15:33:18 +0100 Subject: [PATCH] Declare some shared global variables in backend.h The vlobals twoBoards and partnerUp were only shared through an extern declaration in xboard.c --- backend.h | 1 + xboard.c | 2 -- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/backend.h b/backend.h index ae2baf5..2fc012f 100644 --- a/backend.h +++ b/backend.h @@ -439,6 +439,7 @@ extern int opponentKibitzes; // used by wengineo.c extern int errorExitStatus; extern char *recentEngines; extern char *comboLine; +extern Boolean partnerUp, twoBoards; void SettingsPopUp P((ChessProgramState *cps)); // [HGM] really in front-end, but CPS not known in frontend.h int WaitForEngine P((ChessProgramState *cps, DelayedEventCallback x)); void Load P((ChessProgramState *cps, int n)); diff --git a/xboard.c b/xboard.c index 934f903..aa848f9 100644 --- a/xboard.c +++ b/xboard.c @@ -1187,8 +1187,6 @@ ConvertToLine (int argc, char **argv) //-------------------------------------------------------------------------------------------- -extern Boolean twoBoards, partnerUp; - #ifdef IDSIZES // eventually, all layout determining code should go into a subroutine, but until then IDSIZE remains undefined #else -- 1.7.0.4