]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: move ENODATA redefine to internal.h
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 7 Apr 2016 06:51:11 +0000 (09:51 +0300)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Fri, 8 Apr 2016 07:20:10 +0000 (10:20 +0300)
commitedc028d122a45b09988dae6d93510adbd9f5c3e4
tree9dd255f8da7d2e1380512200ed61077cfca51286
parent6e244c659fb004503fd2a94319dae8fa6fecf045
util: move ENODATA redefine to internal.h

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
src/util/viruuid.c