[libvirt] [PATCH] Centralize use of DEBUG macros

Daniel Veillard veillard at redhat.com
Fri Oct 3 14:51:11 UTC 2008


On Thu, Oct 02, 2008 at 03:40:17PM -0400, Cole Robinson wrote:
> Currently the DEBUG and DEBUG0 macros are duplicated in
> every file that uses them. This patch moves the macros
> to internal.h, removes the needless duplication, and
> now every file gets them for free. Seems to work as
> expected in my testing.

  I guess the idea was to be able to turn debug on/off specifically
per module, but since they all use the same macros now, sharing make
sense to me,

  +1

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list