diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index fa10e63ead..83bb0f6fd6 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -2114,7 +2114,6 @@ dnsmasqAddDhcpHost; dnsmasqAddHost; dnsmasqCapsGet; dnsmasqCapsGetBinaryPath; -dnsmasqCapsGetVersion; dnsmasqCapsNewFromBinary; dnsmasqCapsNewFromBuffer; dnsmasqContextFree; diff --git a/src/util/virdnsmasq.c b/src/util/virdnsmasq.c index c8620b6e8d..3c2dcbda1d 100644 --- a/src/util/virdnsmasq.c +++ b/src/util/virdnsmasq.c @@ -758,15 +758,6 @@ dnsmasqCapsGetBinaryPath(dnsmasqCaps *caps) return caps ? caps->binaryPath : DNSMASQ; } -unsigned long -dnsmasqCapsGetVersion(dnsmasqCaps *caps) -{ - if (caps) - return caps->version; - else - return 0; -} - bool dnsmasqCapsGet(dnsmasqCaps *caps, dnsmasqCapsFlags flag) { diff --git a/src/util/virdnsmasq.h b/src/util/virdnsmasq.h index 9aa45c3046..10b512cff4 100644 --- a/src/util/virdnsmasq.h +++ b/src/util/virdnsmasq.h @@ -99,6 +99,5 @@ dnsmasqCaps *dnsmasqCapsNewFromBuffer(const char *buf); dnsmasqCaps *dnsmasqCapsNewFromBinary(void); bool dnsmasqCapsGet(dnsmasqCaps *caps, dnsmasqCapsFlags flag); const char *dnsmasqCapsGetBinaryPath(dnsmasqCaps *caps); -unsigned long dnsmasqCapsGetVersion(dnsmasqCaps *caps); char *dnsmasqDhcpHostsToString(dnsmasqDhcpHost *hosts, unsigned int nhosts);