The function isn't used in any other file. Convert it to static.
---
Notes:
Pushed as trivial.
src/qemu/qemu_command.c | 2 +-
src/qemu/qemu_command.h | 7 -------
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 3942a23..8b4a57a 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -3605,7 +3605,7 @@ qemuNetworkDriveGetPort(int protocol,
#define QEMU_DEFAULT_NBD_PORT "10809"
-char *
+static char *
qemuBuildNetworkDriveURI(int protocol,
const char *src,
size_t nhosts,
diff --git a/src/qemu/qemu_command.h b/src/qemu/qemu_command.h
index d5e8a4d..bad6ac0 100644
--- a/src/qemu/qemu_command.h
+++ b/src/qemu/qemu_command.h
@@ -182,13 +182,6 @@ char * qemuBuildHubDevStr(virDomainDefPtr def,
char * qemuBuildRedirdevDevStr(virDomainDefPtr def,
virDomainRedirdevDefPtr dev,
virQEMUCapsPtr qemuCaps);
-char *qemuBuildNetworkDriveURI(int proto,
- const char *src,
- size_t nhosts,
- virStorageNetHostDefPtr hosts,
- const char *username,
- const char *secret);
-
int qemuNetworkIfaceConnect(virDomainDefPtr def,
virConnectPtr conn,
virQEMUDriverPtr driver,
--
1.9.1