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

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



On 12/11/2012 07:34 AM, Jiri Denemark wrote:
> ---
> 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;
> -

Huh. I wonder what compile flag I'm missing that this doesn't generate
an error for me.

(I'm using gcc 4.7.2 on F17 and autogen.sh --system)


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