mirror of
				https://github.com/Rockbox/rockbox.git
				synced 2025-10-26 23:36:37 -04:00 
			
		
		
		
	This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			163 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			163 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #include <string.h>
 | |
| 
 | |
| char *strcat(char *s1,
 | |
|              const char *s2)
 | |
| {
 | |
|   char *s = s1;
 | |
| 
 | |
|   while (*s1)
 | |
|     s1++;
 | |
| 
 | |
|   while ((*s1++ = *s2++))
 | |
|     ;
 | |
|   return s;
 | |
| }
 |