summary refs log tree commit diff stats
path: root/hw/gus.c
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-11 00:14:28 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-11 00:14:28 +0000
commit371bc573e53e5fec1302ba2b723c6315e4619113 (patch)
tree7bb19296f92eb8a738143c4b8427973086e5b098 /hw/gus.c
parentc40e866fa26f284b8fb12368728e0d40941e4ecc (diff)
downloadfocaccia-qemu-371bc573e53e5fec1302ba2b723c6315e4619113.tar.gz
focaccia-qemu-371bc573e53e5fec1302ba2b723c6315e4619113.zip
Add missing static qualifier
Caught by -Wstrict-prototypes

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5975 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/gus.c')
-rw-r--r--hw/gus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/gus.c b/hw/gus.c
index fb129cd49d..860a47c357 100644
--- a/hw/gus.c
+++ b/hw/gus.c
@@ -42,9 +42,9 @@
 #endif
 
 #define IO_READ_PROTO(name) \
-    uint32_t name (void *opaque, uint32_t nport)
+    static uint32_t name (void *opaque, uint32_t nport)
 #define IO_WRITE_PROTO(name) \
-    void name (void *opaque, uint32_t nport, uint32_t val)
+    static void name (void *opaque, uint32_t nport, uint32_t val)
 
 static struct {
     int port;
@@ -195,7 +195,7 @@ void GUS_dmarequest (GUSEmuState *der)
     DMA_hold_DREQ (der->gusdma);
 }
 
-int GUS_read_DMA (void *opaque, int nchan, int dma_pos, int dma_len)
+static int GUS_read_DMA (void *opaque, int nchan, int dma_pos, int dma_len)
 {
     GUSState *s = opaque;
     char tmpbuf[4096];