X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fdspwrappers.c;h=d7f23c8c6d6aa6919d5f94e34ea312c517bc261f;hb=68c554411d120d163045f77a80ad9009f7a73841;hp=dc139ce3148c0baa9a0f3aa27c04fb8360599432;hpb=f30d0521d5d0847df94b8785d350281cb54fae1e;p=gnushogi.git diff --git a/gnushogi/dspwrappers.c b/gnushogi/dspwrappers.c index dc139ce..d7f23c8 100644 --- a/gnushogi/dspwrappers.c +++ b/gnushogi/dspwrappers.c @@ -7,6 +7,7 @@ * ---------------------------------------------------------------------- * Copyright (c) 1993, 1994, 1995 Matthias Mutz * Copyright (c) 1999 Michael Vanier and the Free Software Foundation + * Copyright (c) 2008, 2013, 2014 Yann Dirson and the Free Software Foundation * * GNU SHOGI is based on GNU CHESS * @@ -32,12 +33,14 @@ * */ +/* request *snprintf prototypes*/ +#define _POSIX_C_SOURCE 200112L + #include "gnushogi.h" #include "dspwrappers.h" #include "rawdsp.h" #include "cursesdsp.h" -#include #include #define CASE_DSP_RAW(func,args) \ @@ -92,9 +95,11 @@ DISPLAY_VOIDFUNC(GiveHint) DISPLAY_VOIDFUNC(Initialize) DISPLAY_FUNC(ShowNodeCnt, (long NodeCnt), (NodeCnt)) DISPLAY_VOIDFUNC(OutputMove) +DISPLAY_VOIDFUNC(PollForInput) DISPLAY_VOIDFUNC(SetContempt) DISPLAY_FUNC(SearchStartStuff, (short side), (side)) DISPLAY_FUNC(SelectLevel, (char *sx), (sx)) +DISPLAY_VOIDFUNC(SetupBoard) DISPLAY_FUNC(ShowCurrentMove, (short pnt, short f, short t), (pnt, f, t)) DISPLAY_FUNC(ShowDepth, (char ch), (ch)) DISPLAY_VOIDFUNC(ShowGameType) @@ -111,6 +116,7 @@ DISPLAY_FUNC(ShowResults, (short score, unsigned short *bstline, char ch), (scor DISPLAY_VOIDFUNC(ShowSidetoMove) DISPLAY_VOIDFUNC(ShowStage) DISPLAY_FUNC(TerminateSearch, (int sig), (sig)) +DISPLAY_VOIDFUNC(UpdateClocks) DISPLAY_FUNC(UpdateDisplay, (short f, short t, short redraw, short isspec), (f, t, redraw, isspec)) DISPLAY_VOIDFUNC(help)