diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-11-19 17:26:22 +1100 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-11-20 09:01:29 -0600 |
commit | 2cf86939aff2692098396e7f25ce299e7195fa12 (patch) | |
tree | 210a3ec9de082e9882d91acb1d0702d7f83a2ece /dtc.c | |
parent | 9521dc5ecc66c158cd6853cabba2c29f545780f6 (diff) | |
download | dtc-2cf86939aff2692098396e7f25ce299e7195fa12.zip dtc-2cf86939aff2692098396e7f25ce299e7195fa12.tar.gz dtc-2cf86939aff2692098396e7f25ce299e7195fa12.tar.bz2 |
libfdt: Abolish fdt_offset_ptr_typed()
The fdt_offset_ptr_typed() macro seemed like a good idea at the time.
However, it's not actually used all that often, it can silently throw
away const qualifications and it uses a gcc extension (typeof) which
I'd prefer to avoid for portability.
Therefore, this patch gets rid of it (and the fdt_offset_ptr_typed_w()
variant which was never used at all). It also makes a few variables
const in testcases, which always should have been const, but weren't
caught before because of the aforementioned silent discards.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc.c')
0 files changed, 0 insertions, 0 deletions