diff options
author | Michael S. Tsirkin | 2012-02-15 22:32:00 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2012-03-15 16:04:58 +0100 |
commit | 94a09e2c846374a96719cda2b4e1312d8c4b08a7 (patch) | |
tree | 5050294feae0dbc402273e8cf03dff2eafdc7622 /hw/pci.c | |
parent | pci_regs: Fix value of PCI_EXP_TYPE_RC_EC. (diff) | |
download | qemu-94a09e2c846374a96719cda2b4e1312d8c4b08a7.tar.gz qemu-94a09e2c846374a96719cda2b4e1312d8c4b08a7.tar.xz qemu-94a09e2c846374a96719cda2b4e1312d8c4b08a7.zip |
pci: don't export an internal function
Make an internal function, pci_parse_devaddr,
static.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.c')
-rw-r--r-- | hw/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -478,7 +478,7 @@ static void pci_set_default_subsystem_id(PCIDevice *pci_dev) * Parse [[<domain>:]<bus>:]<slot>, return -1 on error if funcp == NULL * [[<domain>:]<bus>:]<slot>.<func>, return -1 on error */ -int pci_parse_devaddr(const char *addr, int *domp, int *busp, +static int pci_parse_devaddr(const char *addr, int *domp, int *busp, unsigned int *slotp, unsigned int *funcp) { const char *p; |