public/errno: Reduce complexity of inclusion
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 7 Mar 2016 16:45:13 +0000 (17:45 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 7 Mar 2016 16:45:13 +0000 (17:45 +0100)
commit67790205df26e7c3dfeef8b8e64194ebc279220d
tree7e0a4a4d63c8d087f759fcefe4e67a0983a6084b
parent6a5f34a262e0370164a0cd1162fa110a681dcfdd
public/errno: Reduce complexity of inclusion

The inclusion rules conditions for errno.h were unnecesserily complicated, and
required the includer to jump through hoops if they wished to avoid getting
multiple namespaces worth of constants.

Simply the logic, and document what is going on.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/public/errno.h
xen/include/xen/errno.h