Re: [PATCH] datatypes.c: Replace 'close' with 'closeData'

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

 



On 01.03.2016 17:43, Michal Privoznik wrote:
> Older compilers fail to see that 'close' is not used a function
> rather than a variable and produce the following error:
> 
> cc1: warnings being treated as errors
> ../../src/datatypes.c: In function 'virConnectCloseCallbackDataReset':
> ../../src/datatypes.c:149: error: declaration of 'close' shadows a global declaration [-Wshadow]
> 
> Replace all the 'close' occurrences with 'closeData' to resolve
> this.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/datatypes.c | 72 ++++++++++++++++++++++++++++-----------------------------
>  1 file changed, 36 insertions(+), 36 deletions(-)

Since this qualifies as a build breaker, I've pushed this one.

Michal

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