Re: [libvirt] [PATCH] Fix conflicts with glibc globals

2011-02-03 Thread Eric Blake
On 02/03/2011 08:09 AM, Davidlohr Bueso wrote: > 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 >

[libvirt] [PATCH] Fix conflicts with glibc globals

2011-02-03 Thread Davidlohr Bueso
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'. --- src/u