From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schaefer Date: Wed, 12 May 2021 19:12:47 +0800 Subject: [PATCH v1 1/1] lib: utils: Include sbi_strings.h directly Message-ID: <20210512111247.28416-1-git@danielschaefer.me> List-Id: To: opensbi@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: Daniel Schaefer This file uses `sbi_strncpy`, `sbi_strncmp` and `sbi_memset`, which are defined in `sbi_strings.h`. It should already be transitively included via `#include ` but my toolchain doesn't do that for some reason. Perhaps because the functions that refer to them are `static`? Anyways, it would be good to directly reference the header here. Cc: Abner Chang Cc: Anup Patel Signed-off-by: Daniel Schaefer --- lib/utils/fdt/fdt_domain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utils/fdt/fdt_domain.c b/lib/utils/fdt/fdt_domain.c index 95c195d65238..b2b5f6196a1a 100644 --- a/lib/utils/fdt/fdt_domain.c +++ b/lib/utils/fdt/fdt_domain.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include -- 2.30.1