[libvirt] PATCH: 2/11: Move internal error APIs into virterror_internal.h

Daniel Veillard veillard at redhat.com
Thu Oct 30 14:19:11 UTC 2008


On Thu, Oct 30, 2008 at 01:36:10PM +0000, Daniel P. Berrange wrote:
> After Daniel's feedback that adding src/virterror.h is confusing, I've
> re-done the patch to instead add virterror_internal.h, making it clear
> that these function prototypes are related to virterror.c, but internal
> use only. That patch is basically moving them out of src/internal.h
> In addition it removes the leading __ prefix from virRaiseError since
> this symbol was never exported fromthe library.
> 
> The diff is mis-leading - most of this is just the s/__// change.

  Okay, I'm surprized that there is no more usage of internal.h, i would
have though it was still used widely for things like ATTRIBUTE_UNUSED, but
apparently not,

   +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