]> git.ipfire.org Git - thirdparty/libvirt.git/commit
logging: avoid variables called 'daemon' due to function clash
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 27 Nov 2015 09:26:46 +0000 (09:26 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 27 Nov 2015 09:27:53 +0000 (09:27 +0000)
commit753346c5dd885caf6fbb3a30e3ec0a43f01516de
treec62b6aa234038786b6f7c4cb73bac862ae469c04
parent35b2a2d99ae9aa66816d97876111997d9e9d7dec
logging: avoid variables called 'daemon' due to function clash

With some versions of GLibC / GCC, a variable called 'daemon'
will result in a warning about clashing with the function also
named 'daemon'. Rename it to 'dmn' to avoid the clash.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/logging/log_daemon.c
src/logging/log_daemon.h