platform_external_dtc/libfdt
David Gibson 2cf86939af 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>
2007-11-20 09:01:29 -06:00
..
fdt.c libfdt: Rename and publish _fdt_next_tag() 2007-10-24 09:56:27 -05:00
fdt.h Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
fdt_ro.c libfdt: Abolish fdt_offset_ptr_typed() 2007-11-20 09:01:29 -06:00
fdt_rw.c libfdt: Handle v16 and re-ordered trees for r/w 2007-11-01 08:03:31 -05:00
fdt_strerror.c Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
fdt_sw.c libfdt: Remove un-const-safe fdt_set_header macro 2007-10-25 09:49:18 -05:00
fdt_wip.c libfdt: Rename and publish _fdt_next_tag() 2007-10-24 09:56:27 -05:00
libfdt.h libfdt: Abolish fdt_offset_ptr_typed() 2007-11-20 09:01:29 -06:00
libfdt_env.h Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
libfdt_internal.h libfdt: Rename and publish _fdt_check_header() 2007-10-24 07:58:13 -05:00
Makefile.libfdt dtc: Refactor Makefiles 2007-10-15 08:28:07 -05:00
TODO Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00