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

Re: [libvirt] [PATCH] Make virDomainObjFormat static.



On Thu, Feb 18, 2010 at 10:38:36AM -0500, Chris Lalancette wrote:
> Signed-off-by: Chris Lalancette <clalance redhat com>
> ---
>  src/conf/domain_conf.c |    6 +++---
>  src/conf/domain_conf.h |    3 ---
>  2 files changed, 3 insertions(+), 6 deletions(-)
> 
> diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
> index 4b5510b..c13973b 100644
> --- a/src/conf/domain_conf.c
> +++ b/src/conf/domain_conf.c
> @@ -5533,9 +5533,9 @@ char *virDomainDefFormat(virDomainDefPtr def,
>      return NULL;
>  }
>  
> -char *virDomainObjFormat(virCapsPtr caps,
> -                         virDomainObjPtr obj,
> -                         int flags)
> +static char *virDomainObjFormat(virCapsPtr caps,
> +                                virDomainObjPtr obj,
> +                                int flags)
>  {
>      char *config_xml = NULL;
>      virBuffer buf = VIR_BUFFER_INITIALIZER;
> diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
> index d3a0775..3c672c6 100644
> --- a/src/conf/domain_conf.h
> +++ b/src/conf/domain_conf.h
> @@ -800,9 +800,6 @@ int virDomainDefAddDiskControllers(virDomainDefPtr def);
>  #endif
>  char *virDomainDefFormat(virDomainDefPtr def,
>                           int flags);
> -char *virDomainObjFormat(virCapsPtr caps,
> -                         virDomainObjPtr obj,
> -                         int flags);
>  
>  int virDomainCpuSetParse(const char **str,
>                           char sep,

  ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


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