From 4415df9540afd86671f9169c1542536c71000180 Mon Sep 17 00:00:00 2001 From: dscho Date: Thu, 15 Nov 2001 21:57:12 +0000 Subject: Visual C++ / win32 compatibility reestablished --- main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 6e2ad2b..f406918 100644 --- a/main.c +++ b/main.c @@ -401,7 +401,6 @@ Bool defaultPasswordCheck(rfbClientPtr cl,char* response,int len) of char*'s, where the last pointer is 0. */ Bool checkPasswordByList(rfbClientPtr cl,char* response,int len) { - int i; char **passwds; for(passwds=(char**)cl->screen->rfbAuthPasswdData;*passwds;passwds++) { @@ -565,7 +564,7 @@ void rfbInitServer(rfbScreenInfoPtr rfbScreen) #include #include -void gettimeofday(struct timeval* tv,char*) +void gettimeofday(struct timeval* tv,char* dummy) { SYSTEMTIME t; GetSystemTime(&t); -- cgit v1.2.1