mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 08:17:40 -04:00
libfdt: Drop including string.h from libfdt_internal.h
Commit0f69cedc08
("libfdt_internal: fdt_find_string_len_()") added a string.h include to libfdt_internal.h which introduces a libc dependency which cannot be overridden. Environments without libc (e.g. Linux kernel) use a custom libfdt_env.h. string.h is already indirectly included in libfdt_env.h, so it can be dropped from libfdt_internal.h. Fixes:0f69cedc08
("libfdt_internal: fdt_find_string_len_()") Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Message-ID: <20250811130416.2653959-1-robh@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
1c6c51e51b
commit
739403f222
1 changed files with 0 additions and 1 deletions
|
@ -6,7 +6,6 @@
|
|||
* Copyright (C) 2006 David Gibson, IBM Corporation.
|
||||
*/
|
||||
#include <fdt.h>
|
||||
#include <string.h>
|
||||
|
||||
#define FDT_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1))
|
||||
#define FDT_TAGALIGN(x) (FDT_ALIGN((x), FDT_TAGSIZE))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue