Add missing static qualifier

Caught by -Wstrict-prototypes

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5975 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
malc 2008-12-11 00:14:28 +00:00
parent c40e866fa2
commit 371bc573e5

View File

@ -42,9 +42,9 @@
#endif #endif
#define IO_READ_PROTO(name) \ #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) \ #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 { static struct {
int port; int port;
@ -195,7 +195,7 @@ void GUS_dmarequest (GUSEmuState *der)
DMA_hold_DREQ (der->gusdma); 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; GUSState *s = opaque;
char tmpbuf[4096]; char tmpbuf[4096];