]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix conflicts with glibc globals
authorDavidlohr Bueso <dave@gnu.org>
Thu, 3 Feb 2011 15:09:00 +0000 (12:09 -0300)
committerEric Blake <eblake@redhat.com>
Thu, 3 Feb 2011 15:58:45 +0000 (08:58 -0700)
commitde53effecc68ebbd13b1d8e9ce6b2651b3c5dd86
treed3f9c25276f6635928ae20dfa51e70704aaf7c31
parent3028f51c383cc36ab4e87f2c87569d55de5672ff
Fix conflicts with glibc globals

When compiling libvirt with GCC 3.4.6 the following warning is being triggered quite a lot:

util/memory.h:60: warning: declaration of 'remove' shadows a global declaration
/usr/include/stdio.h:175: warning: shadowed declaration is here

Fix this by renaming the parameter to 'toremove'.
AUTHORS
src/util/memory.h