The use of the virNetServerAutoShutdownFunc typedef was removed in
commit 79b8a56995e6d9ce47e0b44512f7be440df9ff7d
Author: Daniel P. Berrange <[email protected]>
Date: Wed Oct 31 19:03:55 2012 +0000
Replace polling for active VMs with signalling by drivers
This unused typedef was then copied into the virNetDaemon object
when that was split off from virNetServer, resulting in a typedef
virNetDaemonAutoShutdownFunc that has never been needed.
Signed-off-by: Daniel P. Berrangé <[email protected]>
---
src/rpc/virnetdaemon.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/rpc/virnetdaemon.h b/src/rpc/virnetdaemon.h
index b7511ffd27..5a9842bee6 100644
--- a/src/rpc/virnetdaemon.h
+++ b/src/rpc/virnetdaemon.h
@@ -47,8 +47,6 @@ virNetDaemonPtr
virNetDaemonNewPostExecRestart(virJSONValuePtr object,
virJSONValuePtr virNetDaemonPreExecRestart(virNetDaemonPtr dmn);
-typedef int (*virNetDaemonAutoShutdownFunc)(virNetDaemonPtr dmn, void *opaque);
-
bool virNetDaemonIsPrivileged(virNetDaemonPtr dmn);
void virNetDaemonAutoShutdown(virNetDaemonPtr dmn,
--
2.21.0
--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list