From: Arun Persaud Date: Tue, 8 Sep 2009 16:01:07 +0000 (-0700) Subject: fixed some implicit declarations reported by Stanislav Brabec X-Git-Tag: v4.4.1.20091019~89 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=d76dd6e5ccec1c0d6d09f11a546da2248b70126a;p=xboard.git fixed some implicit declarations reported by Stanislav Brabec --- diff --git a/backend.c b/backend.c index 90021ce..ccb28ec 100644 --- a/backend.c +++ b/backend.c @@ -151,7 +151,6 @@ void SendToICS P((char *s)); void SendToICSDelayed P((char *s, long msdelay)); void SendMoveToICS P((ChessMove moveType, int fromX, int fromY, int toX, int toY)); -void InitPosition P((int redraw)); void HandleMachineMove P((char *message, ChessProgramState *cps)); int AutoPlayOneMove P((void)); int LoadGameOneMove P((ChessMove readAhead)); diff --git a/backend.h b/backend.h index f02835f..8a0b184 100644 --- a/backend.h +++ b/backend.h @@ -189,6 +189,8 @@ void GetMoveListEvent P((void)); void ExitAnalyzeMode P((void)); void AnalyzeModeEvent P((void)); void AnalyzeFileEvent P((void)); +void InitPosition P((int redraw)); +void NewSettingEvent P((int option, char *command, int value)); void DoEcho P((void)); void DontEcho P((void)); void TidyProgramName P((char *prog, char *host, char *buf)); diff --git a/xoptions.c b/xoptions.c index da6a825..342246c 100644 --- a/xoptions.c +++ b/xoptions.c @@ -78,6 +78,9 @@ extern char *getenv(); # define N_(s) s #endif +extern void SendToProgram P((char *message, ChessProgramState *cps)); + + extern Widget formWidget, shellWidget, boardWidget, menuBarWidget; extern Display *xDisplay; extern int squareSize; @@ -1749,4 +1752,4 @@ void XXXMenuProc(w, event, prms, nprms) { XXXPopUp(); } -#endif \ No newline at end of file +#endif