fix some unused var/function warnings

This commit is contained in:
asvitkine 2011-12-28 20:22:25 +00:00
parent 97c7aa5756
commit 3d09f85dc9
2 changed files with 1 additions and 2 deletions

View File

@ -2327,12 +2327,12 @@ static int redraw_func(void *arg)
#ifdef SHEEPSHAVER
void video_set_dirty_area(int x, int y, int w, int h)
{
#ifdef ENABLE_VOSF
const VIDEO_MODE &mode = drv->mode;
const int screen_width = VIDEO_MODE_X;
const int screen_height = VIDEO_MODE_Y;
const int bytes_per_row = VIDEO_MODE_ROW_BYTES;
#ifdef ENABLE_VOSF
if (use_vosf) {
vosf_set_dirty_area(x, y, w, h, screen_width, screen_height, bytes_per_row);
return;

View File

@ -125,7 +125,6 @@ static map<uint16, uint32> net_protocols;
// Prototypes
static void *receive_func(void *arg);
static void *slirp_receive_func(void *arg);
static int poll_fd(int fd);
static int16 ether_do_add_multicast(uint8 *addr);
static int16 ether_do_del_multicast(uint8 *addr);
static int16 ether_do_write(uint32 arg);