mirror of
				https://github.com/riscv-software-src/opensbi
				synced 2025-11-03 21:48:45 +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 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>
This commit is contained in:
		
							parent
							
								
									6139ab272b
								
							
						
					
					
						commit
						c9ef2bc7e4
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user