diff options
author | Abner Chang <abner.chang@hpe.com> | 2020-07-25 17:30:40 +0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-07-29 12:06:15 +0530 |
commit | 2845d2d2cf4fb74a89452ba223995aa4a118c07e (patch) | |
tree | e0b8b5b82de19f481b104ba880c6995210924552 | |
parent | 8e47649eff96c303e02fbd58cdc6c4ed341066ec (diff) |
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>
-rw-r--r-- | lib/utils/libfdt/libfdt_env.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/libfdt/libfdt_env.h b/lib/utils/libfdt/libfdt_env.h index 7fcfe01..bc3e758 100644 --- a/lib/utils/libfdt/libfdt_env.h +++ b/lib/utils/libfdt/libfdt_env.h @@ -32,6 +32,7 @@ #define strrchr sbi_strrchr #define strcpy sbi_strcpy #define strcmp sbi_strcmp +#define strncmp sbi_strncmp #define strlen sbi_strlen #define strnlen sbi_strnlen |