aboutsummaryrefslogtreecommitdiff
path: root/dma-helpers.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-07 17:57:09 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-07 17:57:09 +0000
commit856ae5c3324abb8fe6d905262e1cc9f4437e719f (patch)
tree03c5f9e6554994c4b3144216154093facf8411a1 /dma-helpers.c
parent669b92ed34588786bfa963982c0050b941292569 (diff)
Fix a few Sparse warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7016 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dma-helpers.c')
-rw-r--r--dma-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dma-helpers.c b/dma-helpers.c
index 1469e34df9..f9eb2240b2 100644
--- a/dma-helpers.c
+++ b/dma-helpers.c
@@ -81,7 +81,7 @@ static void dma_bdrv_unmap(DMAAIOCB *dbs)
}
}
-void dma_bdrv_cb(void *opaque, int ret)
+static void dma_bdrv_cb(void *opaque, int ret)
{
DMAAIOCB *dbs = (DMAAIOCB *)opaque;
target_phys_addr_t cur_addr, cur_len;