diff options
author | dscho <dscho> | 2002-08-19 10:41:11 +0000 |
---|---|---|
committer | dscho <dscho> | 2002-08-19 10:41:11 +0000 |
commit | 598c460ceb842d0cf9df89f93642a1594f35b993 (patch) | |
tree | 6dc08fdcc2a9065fb9f75e759b725c1cf7c372e0 /tight.c | |
parent | fde8958dc5e4e226a76ae0a26d751b6f185cf7ee (diff) | |
download | libvncserver-598c460ceb842d0cf9df89f93642a1594f35b993.zip libvncserver-598c460ceb842d0cf9df89f93642a1594f35b993.tar.gz |
unwarn compilation
Diffstat (limited to 'tight.c')
-rw-r--r-- | tight.c | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -429,12 +429,7 @@ ExtendSolidArea(cl, x, y, w, h, colorValue, x_ptr, y_ptr, w_ptr, h_ptr) *w_ptr += cx - (*x_ptr + *w_ptr); } -static Bool -CheckSolidTile(cl, x, y, w, h, colorPtr, needSameColor) - rfbClientPtr cl; - int x, y, w, h; - CARD32 *colorPtr; - Bool needSameColor; +static Bool CheckSolidTile(rfbClientPtr cl, int x, int y, int w, int h, CARD32* colorPtr, Bool needSameColor) { switch(cl->screen->rfbServerFormat.bitsPerPixel) { case 32: @@ -449,11 +444,7 @@ CheckSolidTile(cl, x, y, w, h, colorPtr, needSameColor) #define DEFINE_CHECK_SOLID_FUNCTION(bpp) \ \ static Bool \ -CheckSolidTile##bpp(cl, x, y, w, h, colorPtr, needSameColor) \ - rfbClientPtr cl; \ - int x, y, w, h; \ - CARD32 *colorPtr; \ - Bool needSameColor; \ +CheckSolidTile##bpp(rfbClientPtr cl, int x, int y, int w, int h, CARD32* colorPtr, Bool needSameColor) \ { \ CARD##bpp *fbptr; \ CARD##bpp colorValue; \ |