[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 01/14] Remove unused virNetServerProgramErrorHander typedef



From: "Daniel P. Berrange" <berrange redhat com>

* src/rpc/virnetserverprogram.h: Remove unused typedef for
  virNetServerProgramErrorHander function callback
* daemon/remote.h: Remove decl for non-existant variables
---
 daemon/remote.h               |    2 --
 src/rpc/virnetserverprogram.h |    3 ---
 2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/daemon/remote.h b/daemon/remote.h
index c9bf5d7..5444e47 100644
--- a/daemon/remote.h
+++ b/daemon/remote.h
@@ -31,11 +31,9 @@
 
 extern virNetServerProgramProc remoteProcs[];
 extern size_t remoteNProcs;
-extern virNetServerProgramErrorHander remoteErr;
 
 extern virNetServerProgramProc qemuProcs[];
 extern size_t qemuNProcs;
-extern virNetServerProgramErrorHander qemuErr;
 
 int remoteClientInitHook(virNetServerPtr srv,
                          virNetServerClientPtr client);
diff --git a/src/rpc/virnetserverprogram.h b/src/rpc/virnetserverprogram.h
index 98071a2..ca31b7e 100644
--- a/src/rpc/virnetserverprogram.h
+++ b/src/rpc/virnetserverprogram.h
@@ -39,9 +39,6 @@ typedef virNetServerProgram *virNetServerProgramPtr;
 typedef struct _virNetServerProgramProc virNetServerProgramProc;
 typedef virNetServerProgramProc *virNetServerProgramProcPtr;
 
-typedef struct _virNetServerProgramErrorHandler virNetServerProgramErrorHander;
-typedef virNetServerProgramErrorHander *virNetServerProgramErrorHanderPtr;
-
 typedef int (*virNetServerProgramDispatchFunc)(virNetServerPtr server,
                                                virNetServerClientPtr client,
                                                virNetMessageHeaderPtr hdr,
-- 
1.7.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]