From d76dd6e5ccec1c0d6d09f11a546da2248b70126a Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Tue, 8 Sep 2009 09:01:07 -0700 Subject: [PATCH] fixed some implicit declarations reported by Stanislav Brabec --- backend.c | 1 - backend.h | 2 ++ xoptions.c | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) 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 -- 1.7.0.4