Commit 371bc573e53e5fec1302ba2b723c6315e4619113

Authored by malc
1 parent c40e866f

Add missing static qualifier

Caught by -Wstrict-prototypes

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5975 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 3 additions and 3 deletions
hw/gus.c
@@ -42,9 +42,9 @@ @@ -42,9 +42,9 @@
42 #endif 42 #endif
43 43
44 #define IO_READ_PROTO(name) \ 44 #define IO_READ_PROTO(name) \
45 - uint32_t name (void *opaque, uint32_t nport) 45 + static uint32_t name (void *opaque, uint32_t nport)
46 #define IO_WRITE_PROTO(name) \ 46 #define IO_WRITE_PROTO(name) \
47 - void name (void *opaque, uint32_t nport, uint32_t val) 47 + static void name (void *opaque, uint32_t nport, uint32_t val)
48 48
49 static struct { 49 static struct {
50 int port; 50 int port;
@@ -195,7 +195,7 @@ void GUS_dmarequest (GUSEmuState *der) @@ -195,7 +195,7 @@ void GUS_dmarequest (GUSEmuState *der)
195 DMA_hold_DREQ (der->gusdma); 195 DMA_hold_DREQ (der->gusdma);
196 } 196 }
197 197
198 -int GUS_read_DMA (void *opaque, int nchan, int dma_pos, int dma_len) 198 +static int GUS_read_DMA (void *opaque, int nchan, int dma_pos, int dma_len)
199 { 199 {
200 GUSState *s = opaque; 200 GUSState *s = opaque;
201 char tmpbuf[4096]; 201 char tmpbuf[4096];