[PATCH] netserver: Remove duplicate forward declaration

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

 



Commit fa14207368820b264123ba8429927b62258f996e added forward
declaration of virNetServerPtr into virnetserver.h even though we are
keeping these in virnetserverprogram.h due to older compilers having
problems with duplicate ones.

Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
Pushed as a build-breaker

 src/rpc/virnetserver.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/rpc/virnetserver.h b/src/rpc/virnetserver.h
index 5c28182ffd15..0e16e8fb1bf0 100644
--- a/src/rpc/virnetserver.h
+++ b/src/rpc/virnetserver.h
@@ -33,8 +33,6 @@
 # include "virobject.h"
 # include "virjson.h"

-typedef struct _virNetServer virNetServer;
-typedef virNetServer *virNetServerPtr;

 virNetServerPtr virNetServerNew(size_t min_workers,
                                 size_t max_workers,
--
2.4.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]