X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xhistory.c;h=7bd3cb7c903e07d02a422ad345693aaf347704d5;hb=08a38fdd71f1fae28fb213d4c5f6fb0834967412;hp=661572d915a17ca2ab50651cc0e6999bf8fae1b5;hpb=6dc1a307d4ec7c6a793865d8a0bee6e48109435e;p=xboard.git diff --git a/xhistory.c b/xhistory.c index 661572d..7bd3cb7 100644 --- a/xhistory.c +++ b/xhistory.c @@ -23,7 +23,6 @@ #include #include -#include #include #include @@ -64,7 +63,6 @@ void RefreshMemoContent P((void)); void MemoContentUpdated P((void)); void FindMoveByCharIndex P(( int char_index )); -void MoveHistorySet P(( char movelist[][2*MOVE_LEN], int first, int last, int current, ChessProgramStats_Move * pvInfo )); // variables in xoptions.c extern Option historyOptions[]; @@ -164,18 +162,3 @@ HistoryShowProc(w, event, prms, nprms) } else PopDown(7); ToNrEvent(currentMove); } - -// duplicate of code in winboard.c, so an move to back-end! -void EvalGraphSet P(( int first, int last, int current, ChessProgramStats_Move * pvInfo )); -void MakeEngineOutputTitle P(()); - -void -HistorySet( char movelist[][2*MOVE_LEN], int first, int last, int current ) -{ - MoveHistorySet( movelist, first, last, current, pvInfoList ); - - EvalGraphSet( first, last, current, pvInfoList ); - - MakeEngineOutputTitle(); -} -