summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authordscho <dscho>2001-11-15 21:57:12 +0000
committerdscho <dscho>2001-11-15 21:57:12 +0000
commit4415df9540afd86671f9169c1542536c71000180 (patch)
tree305b64d075ae226b187b9c64f723089a68dd817d /main.c
parent281cb78005eba8a365fbcf3d1c868a5f4972ed0e (diff)
downloadlibtdevnc-4415df9540afd86671f9169c1542536c71000180.tar.gz
libtdevnc-4415df9540afd86671f9169c1542536c71000180.zip
Visual C++ / win32 compatibility reestablished
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 1 insertions, 2 deletions
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 <conio.h>
#include <sys/timeb.h>
-void gettimeofday(struct timeval* tv,char*)
+void gettimeofday(struct timeval* tv,char* dummy)
{
SYSTEMTIME t;
GetSystemTime(&t);