forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-board/xboard: tweak for gcc-10
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <[email protected]>
- Loading branch information
Sergei Trofimovich
committed
Jan 21, 2020
1 parent
a629600
commit 2c5ad14
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- a/backend.h | ||
+++ b/backend.h | ||
@@ -242,7 +242,7 @@ extern GameInfo gameInfo; | ||
|
||
/* ICS vars used with backend.c and zippy.c */ | ||
enum ICS_TYPE { ICS_GENERIC, ICS_ICC, ICS_FICS, ICS_CHESSNET /* not really supported */ }; | ||
-enum ICS_TYPE ics_type; | ||
+extern enum ICS_TYPE ics_type; | ||
|
||
/* pgntags.c prototypes | ||
*/ | ||
--- a/evalgraph.h | ||
+++ b/evalgraph.h | ||
@@ -34,7 +34,7 @@ typedef enum { PEN_NONE, PEN_BLACK, PEN_DOTTED, PEN_BLUEDOTTED, PEN_BOLDWHITE, P | ||
#define OPEN 0 | ||
|
||
/* Module globals */ | ||
-ChessProgramStats_Move * currPvInfo; | ||
+extern ChessProgramStats_Move * currPvInfo; | ||
extern int currFirst; | ||
extern int currLast; | ||
extern int currCurrent; | ||
--- a/xaw/xhistory.c | ||
+++ b/xaw/xhistory.c | ||
@@ -96,7 +96,6 @@ ScrollToCursor (Option *opt, int caretPos) | ||
|
||
// ------------------------------ callbacks -------------------------- | ||
|
||
-char *historyText; | ||
char historyTranslations[] = | ||
"<Btn3Down>: select-start() \n \ | ||
<Btn3Up>: extend-end(PRIMARY) SelectMove() \n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters