[libvirt] [PATCH v2] util: move ENODATA redefine to internal.h

Andrea Bolognani abologna at redhat.com
Fri Apr 8 08:59:39 UTC 2016


On Fri, 2016-04-08 at 10:23 +0300, Roman Bogorodskiy wrote:
> FreeBSD lacks ENODATA, and viruuid.c redefines it to EIO, but it's not
> actually using it. On the other hand, we have virrandom.c that's using
> ENODATA. So make this re-definition common by moving it to internal.h,
> so all the current and possible future users don't need to care about
> that.
> ---
>  src/internal.h     | 4 ++++
>  src/util/viruuid.c | 4 ----
>  2 files changed, 4 insertions(+), 4 deletions(-)

ACK

-- 
Andrea Bolognani
Software Engineer - Virtualization Team




More information about the libvir-list mailing list