diff options
| author | Abner Chang <[email protected]> | 2020-07-25 17:30:40 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2020-07-29 12:06:15 +0530 |
| commit | 2845d2d2cf4fb74a89452ba223995aa4a118c07e (patch) | |
| tree | e0b8b5b82de19f481b104ba880c6995210924552 /lib | |
| 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 <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib')
| -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 7fcfe015..bc3e7588 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 |
