From eac70dd1506787967e790af36b5ab29676ad4fd7 Mon Sep 17 00:00:00 2001 From: Daniel Mehrmann Date: Sun, 8 Feb 2004 19:25:14 +0000 Subject: [PATCH] Fix some little compiler warings with MSVS --- winboard/winboard.c | 4 +--- zippy.c | 7 +++++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/winboard/winboard.c b/winboard/winboard.c index 7bd3de0..32addcc 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -6354,11 +6354,9 @@ DisplayMessage(char *str1, char *str2) VOID DisplayError(char *str, int error) { - FARPROC lpProc; char buf[MSG_SIZ*2], buf2[MSG_SIZ]; int len; - char *p, *q; - + if (error == 0) { strcpy(buf, str); } else { diff --git a/zippy.c b/zippy.c index c295459..c73e233 100644 --- a/zippy.c +++ b/zippy.c @@ -91,8 +91,11 @@ extern char *getenv(); static char zippyPartner[MSG_SIZ]; static char zippyLastOpp[MSG_SIZ]; static int zippyConsecGames; -static time_t zippyLastGameEnd; - +static time_t zippyLastGameEnd; + +extern void mysrandom(unsigned int seed); +extern int myrandom(void); + void ZippyInit() { char *p; -- 1.7.0.4