forked from Mirrors/opensbi
lib: utils: Add strncpy macro to libfdt_env.h
we want to use sbi_strncpy as strncpy in the OpenSBI implementation for
libfdt.
Just like 2845d2d2cf
Signed-off-by: Daniel Schaefer <daniel.schaefer@hpe.com>
Reviewed-by: Abner Chang <abner.chang@hpe.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:

committed by
Anup Patel

parent
6139ab272b
commit
c9ef2bc7e4
@@ -31,6 +31,7 @@
|
|||||||
#define strchr sbi_strchr
|
#define strchr sbi_strchr
|
||||||
#define strrchr sbi_strrchr
|
#define strrchr sbi_strrchr
|
||||||
#define strcpy sbi_strcpy
|
#define strcpy sbi_strcpy
|
||||||
|
#define strncpy sbi_strncpy
|
||||||
#define strcmp sbi_strcmp
|
#define strcmp sbi_strcmp
|
||||||
#define strncmp sbi_strncmp
|
#define strncmp sbi_strncmp
|
||||||
#define strlen sbi_strlen
|
#define strlen sbi_strlen
|
||||||
|
Reference in New Issue
Block a user