aboutsummaryrefslogtreecommitdiff
path: root/hw/xenfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xenfb.c')
-rw-r--r--hw/xenfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xenfb.c b/hw/xenfb.c
index d93844122a..ad3e8eea5f 100644
--- a/hw/xenfb.c
+++ b/hw/xenfb.c
@@ -694,7 +694,6 @@ static void xenfb_send_refresh_period(struct XenFB *xenfb, int period)
static void xenfb_update(void *opaque)
{
struct XenFB *xenfb = opaque;
- struct DisplayChangeListener *l;
int i;
if (xenfb->c.xendev.be_state != XenbusStateConnected)
@@ -702,6 +701,7 @@ static void xenfb_update(void *opaque)
if (xenfb->feature_update) {
#ifdef XENFB_TYPE_REFRESH_PERIOD
+ struct DisplayChangeListener *l;
int period = 99999999;
int idle = 1;