]> xenbits.xensource.com Git - libvirt.git/commit
avoid 'sync' as variable name
authorPavel Hrdina <phrdina@redhat.com>
Mon, 19 May 2014 14:36:55 +0000 (16:36 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 19 May 2014 16:40:02 +0000 (18:40 +0200)
commitd5c86278a76b7530a889622f2977622489461258
treeb2dcd395d3d629ae3a36b839a4d3bc7b20239a69
parentd49f18e97679948a49049a741748d7b67afded83
avoid 'sync' as variable name

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