diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2017-03-06 12:16:56 +1100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-19 07:01:10 +0200 |
commit | d0a1fc81e055aafc6bbb3fb51bad6acb3a2dd365 (patch) | |
tree | 0cc51d5ef34fbc120904324901d2343c396f46f3 /cpukit/include/libfdt.h | |
parent | libfdt: Add fdt_setprop_empty() (diff) | |
download | rtems-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