diff options
author | Daniel Schaefer <daniel.schaefer@hpe.com> | 2021-05-19 10:54:08 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-05-19 15:03:33 +0300 |
commit | c9ef2bc7e4fd805325d4466ea7d42cc36980862d (patch) | |
tree | 4522061b512c47b2a74a8511f0c24f012d59eabf /lib/utils/libfdt | |
parent | 6139ab272b1e69e4ff8a37655969c877ae86de49 (diff) | |
download | opensbi-c9ef2bc7e4fd805325d4466ea7d42cc36980862d.tar.xz |
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 2845d2d2cf4fb74a89452ba223995aa4a118c07e
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>
Diffstat (limited to 'lib/utils/libfdt')
-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 bc3e758..f9d9c67 100644 --- a/lib/utils/libfdt/libfdt_env.h +++ b/lib/utils/libfdt/libfdt_env.h @@ -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 |