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

[libvirt] [PATCH] conf: Remove duplicate declaration of virNetworkDNSDefPtr



---
Pushed as trivial build-breaker.

 src/conf/network_conf.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/conf/network_conf.h b/src/conf/network_conf.h
index 49fc0ca..8adc2a4 100644
--- a/src/conf/network_conf.h
+++ b/src/conf/network_conf.h
@@ -106,24 +106,22 @@ struct _virNetworkDNSHostDef {
 typedef struct _virNetworkDNSDef virNetworkDNSDef;
 typedef virNetworkDNSDef *virNetworkDNSDefPtr;
 struct _virNetworkDNSDef {
     size_t ntxts;
     virNetworkDNSTxtDefPtr txts;
     size_t nhosts;
     virNetworkDNSHostDefPtr hosts;
     size_t nsrvs;
     virNetworkDNSSrvDefPtr srvs;
 };
 
-typedef struct _virNetworkDNSDef *virNetworkDNSDefPtr;
-
 typedef struct _virNetworkIpDef virNetworkIpDef;
 typedef virNetworkIpDef *virNetworkIpDefPtr;
 struct _virNetworkIpDef {
     char *family;               /* ipv4 or ipv6 - default is ipv4 */
     virSocketAddr address;      /* Bridge IP address */
 
     /* One or the other of the following two will be used for a given
      * IP address, but never both. The parser guarantees this.
      * Use virNetworkIpDefPrefix/virNetworkIpDefNetmask rather
      * than accessing the data directly - these utility functions
      * will convert one into the other as necessary.
-- 
1.8.0


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