summaryrefslogtreecommitdiffstats
path: root/cpukit/include/libfdt.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2017-03-06 12:16:56 +1100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-07-19 07:01:10 +0200
commitd0a1fc81e055aafc6bbb3fb51bad6acb3a2dd365 (patch)
tree0cc51d5ef34fbc120904324901d2343c396f46f3 /cpukit/include/libfdt.h
parentlibfdt: Add fdt_setprop_empty() (diff)
downloadrtems-d0a1fc81e055aafc6bbb3fb51bad6acb3a2dd365.tar.bz2
libfdt: Change names of sparse helper macros
The default libfdt_env.h (for POSIXish userland builds) supports sparse checking. It has a couple of helper macros, __force and __bitwise which expand the relevant sparse attributes to enable checking for incorrect or missing endian conversions. Those are bad names: for one, leading underscores are supposed to be reserved for the system libraries, and worse, some systems (including RHEL7) do define those names already. So change them to FDT_FORCE and FDT_BITWISE which are far less likely to have collisions. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'cpukit/include/libfdt.h')
0 files changed, 0 insertions, 0 deletions