diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2013-06-22 08:07:00 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-07-04 17:42:43 +0200 |
commit | 8ab9b41876c0ead43648b55576a8f17aa2c8b027 (patch) | |
tree | bcd55c82f2922bfcf3ea1bd4b00736e5c9763eba /ioport.c | |
parent | bcc37e24bda4666e1ddd75e9c523641f8b8a1b7e (diff) |
Privatize register_ioport_read/write
No more users outside of ioport.c.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'ioport.c')
-rw-r--r-- | ioport.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -139,8 +139,8 @@ static int ioport_bsize(int size, int *bsize) } /* size is the word size in byte */ -int register_ioport_read(pio_addr_t start, int length, int size, - IOPortReadFunc *func, void *opaque) +static int register_ioport_read(pio_addr_t start, int length, int size, + IOPortReadFunc *func, void *opaque) { int i, bsize; @@ -159,8 +159,8 @@ int register_ioport_read(pio_addr_t start, int length, int size, } /* size is the word size in byte */ -int register_ioport_write(pio_addr_t start, int length, int size, - IOPortWriteFunc *func, void *opaque) +static int register_ioport_write(pio_addr_t start, int length, int size, + IOPortWriteFunc *func, void *opaque) { int i, bsize; |