diff options
author | dscho <dscho> | 2005-05-15 13:57:51 +0000 |
---|---|---|
committer | dscho <dscho> | 2005-05-15 13:57:51 +0000 |
commit | 8bee4eb990273c3654431467ba6618eb916f030a (patch) | |
tree | f3077e1cb12a4cb778047814583fc0b2f26bb7b2 /vncterm | |
parent | be5b1296e4aa4d8a51cd709853408ec0cd7b768b (diff) | |
download | libtdevnc-8bee4eb990273c3654431467ba6618eb916f030a.tar.gz libtdevnc-8bee4eb990273c3654431467ba6618eb916f030a.zip |
ANSIfy, fix some warnings from Linus' sparse
Diffstat (limited to 'vncterm')
-rw-r--r-- | vncterm/VNCommand.c | 2 | ||||
-rw-r--r-- | vncterm/VNConsole.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/vncterm/VNCommand.c b/vncterm/VNCommand.c index fc07bdb..d53605a 100644 --- a/vncterm/VNCommand.c +++ b/vncterm/VNCommand.c @@ -1,3 +1,5 @@ +#define _BSD_SOURCE +#define _POSIX_SOURCE #include "VNConsole.h" #include "vga.h" #ifdef LIBVNCSERVER_HAVE_FCNTL_H diff --git a/vncterm/VNConsole.c b/vncterm/VNConsole.c index ec3002f..b25c4bd 100644 --- a/vncterm/VNConsole.c +++ b/vncterm/VNConsole.c @@ -24,7 +24,6 @@ unsigned char colourMap16[16*3]={ void MakeColourMap16(vncConsolePtr c) { - int i,j; rfbColourMap* colourMap=&(c->screen->colourMap); if(colourMap->count) free(colourMap->data.bytes); |