projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d533e3e
)
Fix some little compiler warings with MSVS
author
Daniel Mehrmann
<mehrmann>
Sun, 8 Feb 2004 19:25:14 +0000 (19:25 +0000)
committer
Daniel Mehrmann
<mehrmann>
Sun, 8 Feb 2004 19:25:14 +0000 (19:25 +0000)
winboard/winboard.c
patch
|
blob
|
history
zippy.c
patch
|
blob
|
history
diff --git
a/winboard/winboard.c
b/winboard/winboard.c
index
7bd3de0
..
32addcc
100644
(file)
--- a/
winboard/winboard.c
+++ b/
winboard/winboard.c
@@
-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;