mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
util: remove dnsmasqCapsGetVersion
It has no callers anymore. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Laine Stump <laine@redhat.com>
This commit is contained in:
parent
5e0c3e0a33
commit
cd74b24fdf
@ -2114,7 +2114,6 @@ dnsmasqAddDhcpHost;
|
||||
dnsmasqAddHost;
|
||||
dnsmasqCapsGet;
|
||||
dnsmasqCapsGetBinaryPath;
|
||||
dnsmasqCapsGetVersion;
|
||||
dnsmasqCapsNewFromBinary;
|
||||
dnsmasqCapsNewFromBuffer;
|
||||
dnsmasqContextFree;
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user