Move setjmp and strnlen to common/lib.
Move setjmp and strnlen to common/lib to allow libddekit to use them.
This commit is contained in:
		
							parent
							
								
									2bfeeed885
								
							
						
					
					
						commit
						6b8821515d
					
				@ -37,8 +37,8 @@ SRCS+= 	adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c \
 | 
			
		||||
	random.c strtoll.c strtoul.c strtoull.c strtoumax.c \
 | 
			
		||||
	memchr.c memcmp.c memcpy.c memmove.c popcount32.c popcount64.c \
 | 
			
		||||
	strcasecmp.c strcat.c strchr.c strcmp.c strcpy.c strlcat.c \
 | 
			
		||||
	strlcpy.c strlen.c strncasecmp.c strncmp.c strncpy.c strrchr.c \
 | 
			
		||||
	strsep.c strstr.c ptree.c rb.c sha1.c sha2.c
 | 
			
		||||
	strlcpy.c strlen.c strncasecmp.c strncmp.c strncpy.c strnlen.c \
 | 
			
		||||
	strrchr.c strsep.c strstr.c ptree.c rb.c sha1.c sha2.c
 | 
			
		||||
SRCS+= ${i}
 | 
			
		||||
CPPFLAGS.${i}+= -D_LIBC -I${LIBCSRCDIR}/include
 | 
			
		||||
.endfor
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
SRCS+= 	byte_swap_2.S byte_swap_4.S ffs.S
 | 
			
		||||
SRCS+= 	byte_swap_2.S byte_swap_4.S ffs.S _setjmp.S
 | 
			
		||||
SRCS+=  memchr.S memcmp.S memcpy.S memmove.S memset.S \
 | 
			
		||||
	strcat.S strchr.S strcmp.S strcpy.S strlen.S \
 | 
			
		||||
	strncmp.S strrchr.S
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user