aboutsummaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2020-10-01 22:41:48 +0100
committerAlexei Fedorov <Alexei.Fedorov@arm.com>2020-10-02 12:15:48 +0000
commit3b456661e9ed6c4de048c78d95d329bb2c57ecfd (patch)
treefa0557e3290c940dfd9dcda58ecb5bb78f0ab102 /include/lib
parent6e4da01ffbf42bf97933d72868f38aa378313698 (diff)
downloadarm-trusted-firmware-3b456661e9ed6c4de048c78d95d329bb2c57ecfd.tar.gz
libfdt: Upgrade libfdt source files
Update the libfdt source files, the upstream commit is 73e0f143b73d ("libfdt: fdt_strerror(): Fix comparison warning"). This brings us the fixes for the signed/unsigned comparison warnings, so platforms can enable -Wsign-compare now. Change-Id: I303d891c82ffea0acefdde27289339db5ac5a289 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/libfdt/libfdt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/lib/libfdt/libfdt.h b/include/lib/libfdt/libfdt.h
index 48f375c9c..544d3efff 100644
--- a/include/lib/libfdt/libfdt.h
+++ b/include/lib/libfdt/libfdt.h
@@ -9,6 +9,10 @@
#include <libfdt_env.h>
#include <fdt.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define FDT_FIRST_SUPPORTED_VERSION 0x02
#define FDT_LAST_SUPPORTED_VERSION 0x11
@@ -2069,4 +2073,8 @@ int fdt_overlay_apply(void *fdt, void *fdto);
const char *fdt_strerror(int errval);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LIBFDT_H */