qemu: hotplug: Mark 2 private functions as static

They aren't used outside of qemu_hotplug.c
This commit is contained in:
Cole Robinson 2013-12-05 13:09:04 -05:00
parent d51855d10f
commit 79776aa594
2 changed files with 8 additions and 12 deletions

View File

@ -1141,9 +1141,10 @@ try_remove:
} }
int qemuDomainAttachHostPciDevice(virQEMUDriverPtr driver, static int
virDomainObjPtr vm, qemuDomainAttachHostPciDevice(virQEMUDriverPtr driver,
virDomainHostdevDefPtr hostdev) virDomainObjPtr vm,
virDomainHostdevDefPtr hostdev)
{ {
qemuDomainObjPrivatePtr priv = vm->privateData; qemuDomainObjPrivatePtr priv = vm->privateData;
int ret; int ret;
@ -1433,9 +1434,10 @@ cleanup:
return ret; return ret;
} }
int qemuDomainAttachHostUsbDevice(virQEMUDriverPtr driver, static int
virDomainObjPtr vm, qemuDomainAttachHostUsbDevice(virQEMUDriverPtr driver,
virDomainHostdevDefPtr hostdev) virDomainObjPtr vm,
virDomainHostdevDefPtr hostdev)
{ {
qemuDomainObjPrivatePtr priv = vm->privateData; qemuDomainObjPrivatePtr priv = vm->privateData;
virUSBDeviceList *list = NULL; virUSBDeviceList *list = NULL;

View File

@ -47,12 +47,6 @@ int qemuDomainAttachNetDevice(virConnectPtr conn,
virQEMUDriverPtr driver, virQEMUDriverPtr driver,
virDomainObjPtr vm, virDomainObjPtr vm,
virDomainNetDefPtr net); virDomainNetDefPtr net);
int qemuDomainAttachHostPciDevice(virQEMUDriverPtr driver,
virDomainObjPtr vm,
virDomainHostdevDefPtr hostdev);
int qemuDomainAttachHostUsbDevice(virQEMUDriverPtr driver,
virDomainObjPtr vm,
virDomainHostdevDefPtr hostdev);
int qemuDomainAttachRedirdevDevice(virQEMUDriverPtr driver, int qemuDomainAttachRedirdevDevice(virQEMUDriverPtr driver,
virDomainObjPtr vm, virDomainObjPtr vm,
virDomainRedirdevDefPtr hostdev); virDomainRedirdevDefPtr hostdev);