Re: [PATCH v2 09/10] vz: minor cleanup

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

 




On 07.04.2016 23:10, Maxim Nestratov wrote:
> remove unnecessary vzConnectClose prototype and make
> local structure vzDomainDefParserConfig be static
> 
> Signed-off-by: Maxim Nestratov <mnestratov@xxxxxxxxxxxxx>
> ---
>  src/vz/vz_driver.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c
> index 50da2fe..b3ce404 100644
> --- a/src/vz/vz_driver.c
> +++ b/src/vz/vz_driver.c
> @@ -62,7 +62,6 @@ VIR_LOG_INIT("parallels.parallels_driver");
>  
>  #define PRLCTL                      "prlctl"
>  
> -static int vzConnectClose(virConnectPtr conn);
>  static virClassPtr vzDriverConnClass;
>  
>  static virMutex vz_driver_lock;
> @@ -266,7 +265,7 @@ vzDomainDeviceDefPostParse(virDomainDeviceDefPtr dev,
>  }
>  
>  
> -virDomainDefParserConfig vzDomainDefParserConfig = {
> +static virDomainDefParserConfig vzDomainDefParserConfig = {
>      .macPrefix = {0x42, 0x1C, 0x00},
>      .devicesPostParseCallback = vzDomainDeviceDefPostParse,
>      .domainPostParseCallback = vzDomainDefPostParse,
> 

ACK

--
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]