]> git.ipfire.org Git - thirdparty/libvirt.git/commit
datatypes.c: Replace 'close' with 'closeData'
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 1 Mar 2016 16:39:54 +0000 (17:39 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 2 Mar 2016 08:33:28 +0000 (09:33 +0100)
commitf5f1ccbc239ae908999f2494c55559f3c85cd50d
tree8b6ab56513c79e51617588198d73cd5cdb3df28a
parent95aa1017951e410b6e1ebbc685034ac4cc49c6fb
datatypes.c: Replace 'close' with 'closeData'

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@redhat.com>
src/datatypes.c