Fix some little compiler warings with MSVS
authorDaniel Mehrmann <mehrmann>
Sun, 8 Feb 2004 19:25:14 +0000 (19:25 +0000)
committerDaniel Mehrmann <mehrmann>
Sun, 8 Feb 2004 19:25:14 +0000 (19:25 +0000)
winboard/winboard.c
zippy.c

index 7bd3de0..32addcc 100644 (file)
@@ -6354,11 +6354,9 @@ DisplayMessage(char *str1, char *str2)
 VOID\r
 DisplayError(char *str, int error)\r
 {\r
-  FARPROC lpProc;\r
   char buf[MSG_SIZ*2], buf2[MSG_SIZ];\r
   int len;\r
-  char *p, *q;\r
-\r
\r
   if (error == 0) {\r
     strcpy(buf, str);\r
   } else {\r
diff --git a/zippy.c b/zippy.c
index c295459..c73e233 100644 (file)
--- 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;\r
+\r
+extern void mysrandom(unsigned int seed);\r
+extern int myrandom(void);
+\r
 void ZippyInit()
 {
     char *p;