From: Daniel Mehrmann Date: Sun, 8 Feb 2004 19:25:14 +0000 (+0000) Subject: Fix some little compiler warings with MSVS X-Git-Tag: v4.2.8~57 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=eac70dd1506787967e790af36b5ab29676ad4fd7;p=xboard.git Fix some little compiler warings with MSVS --- 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;