mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-25 07:41:42 +01:00
lib: utils: Add a macro in libfdt_env.h for strncmp
This commit add a macro to replace strncmp with sbi_strncmp. Signed-off-by: Abner Chang <abner.chang@hpe.com> Reviewed-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
@@ -32,6 +32,7 @@
|
|||||||
#define strrchr sbi_strrchr
|
#define strrchr sbi_strrchr
|
||||||
#define strcpy sbi_strcpy
|
#define strcpy sbi_strcpy
|
||||||
#define strcmp sbi_strcmp
|
#define strcmp sbi_strcmp
|
||||||
|
#define strncmp sbi_strncmp
|
||||||
#define strlen sbi_strlen
|
#define strlen sbi_strlen
|
||||||
#define strnlen sbi_strnlen
|
#define strnlen sbi_strnlen
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user