[libvirt] [PATCH] avoid 'sync' as variable name
Eric Blake
eblake at redhat.com
Mon May 19 15:16:45 UTC 2014
On 05/19/2014 08:44 AM, Pavel Hrdina wrote:
> Old gcc complains about shadowing 'sync' variable:
>
> ../../src/qemu/qemu_agent.c: In function 'qemuAgentSetTime':
> ../../src/qemu/qemu_agent.c:1737: warning: declaration of 'sync'
> shadows a global declaration [-Wshadow]
> /usr/include/unistd.h:464: warning: shadowed declaration is here
> [-Wshadow]
>
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
> src/qemu/qemu_agent.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
ACK; qualifies as a trivial build-breaker.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140519/b439f763/attachment-0001.sig>
More information about the libvir-list
mailing list