mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-07-02 02:59:25 +00:00
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:
parent
6139ab272b
commit
c9ef2bc7e4
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
|||
#define strchr sbi_strchr
|
||||
#define strrchr sbi_strrchr
|
||||
#define strcpy sbi_strcpy
|
||||
#define strncpy sbi_strncpy
|
||||
#define strcmp sbi_strcmp
|
||||
#define strncmp sbi_strncmp
|
||||
#define strlen sbi_strlen
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue