[libvirt] [PATCH] macvtap.c: add parenthesis for similar expressions

2011-02-03 Thread Davidlohr Bueso
It wouldn't hurt to add some parenthesis in the following two similar expression for better readability. --- src/util/macvtap.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/util/macvtap.c b/src/util/macvtap.c index 09d7b78..92147ab 100644 --- a/src/util/mac

[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