dtc/tests: don't include fdt.h prior to libfdt.h
PATCH 1/4 dtc/tests: don't include fdt.h prior to libfdt.h
tests will need fdt type definitions provided in a subsequent patch to libfdt_env.h. Since libfdt.h includes libfdt_env.h in the right order anyway, just remove the fdt.h include.
--- tests/add_subnode_with_nops.c | 1 - tests/appendprop1.c | 1 - tests/appendprop2.c | 1 - tests/asm_tree_dump.c | 1 - tests/boot-cpuid.c | 1 - tests/char_literal.c | 1 - tests/del_node.c | 1 - tests/del_property.c | 1 - tests/dtb_reverse.c | 1 - tests/dtbs_equal_ordered.c | 1 - tests/dtbs_equal_unordered.c | 1 - tests/dumptrees.c | 2 -- tests/extra-terminating-null.c | 1 - tests/find_property.c | 1 - tests/get_alias.c | 1 - tests/get_mem_rsv.c | 1 - tests/get_name.c | 1 - tests/get_path.c | 1 - tests/get_phandle.c | 1 - tests/getprop.c | 1 - tests/incbin.c | 1 - tests/integer-expressions.c | 1 - tests/mangle-layout.c | 1 - tests/move_and_save.c | 1 - tests/node_check_compatible.c | 1 - tests/node_offset_by_compatible.c | 1 - tests/node_offset_by_phandle.c | 1 - tests/node_offset_by_prop_value.c | 1 - tests/nop_node.c | 1 - tests/nop_property.c | 1 - tests/nopulate.c | 1 - tests/notfound.c | 1 - tests/open_pack.c | 1 - tests/parent_offset.c | 1 - tests/path-references.c | 1 - tests/path_offset.c | 1 - tests/path_offset_aliases.c | 1 - tests/phandle_format.c | 1 - tests/propname_escapes.c | 1 - tests/references.c | 1 - tests/root_node.c | 1 - tests/rw_tree1.c | 1 - tests/set_name.c | 1 - tests/setprop.c | 1 - tests/setprop_inplace.c | 1 - tests/sized_cells.c | 1 - tests/string_escapes.c | 1 - tests/subnode_offset.c | 1 - tests/supernode_atdepth_offset.c | 1 - tests/sw_tree1.c | 1 - tests/truncated_property.c | 1 - tests/utilfdt_test.c | 1 - tests/value-labels.c | 1 - 53 files changed, 54 deletions(-)
tests/add_subnode_with_nops.c +0 -1
@@ -24,7 +24,6 @@#include <ctype.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/appendprop1.c +0 -1
@@ -24,7 +24,6 @@#include <ctype.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/appendprop2.c +0 -1
@@ -24,7 +24,6 @@#include <ctype.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/asm_tree_dump.c +0 -1
@@ -26,7 +26,6 @@#include <dlfcn.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/boot-cpuid.c +0 -1
@@ -21,7 +21,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/char_literal.c +0 -1
@@ -23,7 +23,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/del_node.c +0 -1
@@ -24,7 +24,6 @@#include <ctype.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/del_property.c +0 -1
@@ -24,7 +24,6 @@#include <ctype.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/dtb_reverse.c +0 -1
@@ -24,7 +24,6 @@#include <stdint.h> #include <limits.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/dtbs_equal_ordered.c +0 -1
@@ -23,7 +23,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/dtbs_equal_unordered.c +0 -1
@@ -24,7 +24,6 @@#include <stdint.h> #include <limits.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/dumptrees.c +0 -2
@@ -25,9 +25,7 @@#include <fcntl.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> -#include <libfdt_env.h> #include "testdata.h"
tests/extra-terminating-null.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/find_property.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/get_alias.c +0 -1
@@ -23,7 +23,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/get_mem_rsv.c +0 -1
@@ -23,7 +23,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/get_name.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/get_path.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/get_phandle.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/getprop.c +0 -1
@@ -23,7 +23,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/incbin.c +0 -1
@@ -23,7 +23,6 @@#include <stdint.h> #include <errno.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/integer-expressions.c +0 -1
@@ -25,7 +25,6 @@#include <errno.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/mangle-layout.c +0 -1
@@ -24,7 +24,6 @@#include <limits.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/move_and_save.c +0 -1
@@ -24,7 +24,6 @@#include <limits.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/node_check_compatible.c +0 -1
@@ -23,7 +23,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/node_offset_by_compatible.c +0 -1
@@ -23,7 +23,6 @@#include <stdint.h> #include <stdarg.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/node_offset_by_phandle.c +0 -1
@@ -23,7 +23,6 @@#include <stdint.h> #include <stdarg.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/node_offset_by_prop_value.c +0 -1
@@ -23,7 +23,6 @@#include <stdint.h> #include <stdarg.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/nop_node.c +0 -1
@@ -24,7 +24,6 @@#include <ctype.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/nop_property.c +0 -1
@@ -24,7 +24,6 @@#include <ctype.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/nopulate.c +0 -1
@@ -24,7 +24,6 @@#include <limits.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/notfound.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/open_pack.c +0 -1
@@ -24,7 +24,6 @@#include <limits.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/parent_offset.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/path-references.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/path_offset.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/path_offset_aliases.c +0 -1
@@ -23,7 +23,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/phandle_format.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/propname_escapes.c +0 -1
@@ -24,7 +24,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/references.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/root_node.c +0 -1
@@ -23,7 +23,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/rw_tree1.c +0 -1
@@ -24,7 +24,6 @@#include <ctype.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/set_name.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/setprop.c +0 -1
@@ -24,7 +24,6 @@#include <ctype.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/setprop_inplace.c +0 -1
@@ -25,7 +25,6 @@#include <ctype.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/sized_cells.c +0 -1
@@ -23,7 +23,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/string_escapes.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/subnode_offset.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/supernode_atdepth_offset.c +0 -1
@@ -22,7 +22,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/sw_tree1.c +0 -1
@@ -24,7 +24,6 @@#include <ctype.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/truncated_property.c +0 -1
@@ -23,7 +23,6 @@#include <string.h> #include <stdint.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
tests/utilfdt_test.c +0 -1
@@ -24,7 +24,6 @@#include <stdint.h> #include <stdarg.h> -#include <fdt.h> #include <libfdt.h> #include <util.h>
tests/value-labels.c +0 -1
@@ -26,7 +26,6 @@#include <dlfcn.h> -#include <fdt.h> #include <libfdt.h> #include "tests.h"
Signature · 1 line
1.8.0
A message that is not in the archive (sent off-list or not yet received): 20121113183401.b05c181e66cf214608b6048d-KZfg59tc24xl57MIdRCFDg@public.gmane.org
David Gibson
Acked-byQuoted 5 lines · Kim Phillips
tests will need fdt type definitions provided in a subsequent patch to
libfdt_env.h. Sincelibfdt.hincludeslibfdt_env.hin the right order anyway, just remove thefdt.hinclude.Signed-off-by Kim Phillips <[email protected]>
Seems to make sense.
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Jon Loeliger
AppliedQuoted 5 lines
tests will need fdt type definitions provided in a subsequent patch to
libfdt_env.h. Sincelibfdt.hincludeslibfdt_env.hin the right order anyway, just remove thefdt.hinclude.Signed-off-by Kim Phillips <[email protected]>
Applied.
Thanks,
jdl