diff options
author | Roman Bogorodskiy <bogorodskiy@gmail.com> | 2016-04-07 09:51:11 +0300 |
---|---|---|
committer | Roman Bogorodskiy <bogorodskiy@gmail.com> | 2016-04-08 10:20:10 +0300 |
commit | edc028d122a45b09988dae6d93510adbd9f5c3e4 (patch) | |
tree | 9dd255f8da7d2e1380512200ed61077cfca51286 /src/util | |
parent | 6e244c659fb004503fd2a94319dae8fa6fecf045 (diff) | |
download | libvirt-edc028d122a45b09988dae6d93510adbd9f5c3e4.tar.gz |
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.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/viruuid.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/util/viruuid.c b/src/util/viruuid.c index 1fcc95405b..16e57dba2b 100644 --- a/src/util/viruuid.c +++ b/src/util/viruuid.c @@ -46,10 +46,6 @@ VIR_LOG_INIT("util.uuid"); -#ifndef ENODATA -# define ENODATA EIO -#endif - static unsigned char host_uuid[VIR_UUID_BUFLEN]; static int |