aboutsummaryrefslogtreecommitdiff
path: root/ioport.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2013-06-22 08:07:00 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-07-04 17:42:43 +0200
commit8ab9b41876c0ead43648b55576a8f17aa2c8b027 (patch)
treebcd55c82f2922bfcf3ea1bd4b00736e5c9763eba /ioport.c
parentbcc37e24bda4666e1ddd75e9c523641f8b8a1b7e (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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ioport.c b/ioport.c
index a0ac2a0a41..d5b7fbdb5b 100644
--- a/ioport.c
+++ b/ioport.c
@@ -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;