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'.
This commit is contained in:
Davidlohr Bueso
2011-02-03 12:09:00 -03:00
committed by Eric Blake
parent 3028f51c38
commit de53effecc
2 changed files with 2 additions and 1 deletions

View File

@@ -148,6 +148,7 @@ Patches have also been contributed by:
Juerg Haefliger <juerg.haefliger@hp.com>
Matthias Dahl <mdvirt@designassembly.de>
Niels de Vos <ndevos@redhat.com>
Davidlohr Bueso <dave@gnu.org>
[....send patches to get your name here....]