| Roman Zippel | d6359fd | 2006-10-06 00:43:55 -0700 | [diff] [blame] | 1 | /* | 
|  | 2 | * This file is subject to the terms and conditions of the GNU General Public | 
|  | 3 | * License.  See the file COPYING in the main directory of this archive | 
|  | 4 | * for more details. | 
|  | 5 | */ | 
| Roman Zippel | 072dffd | 2005-09-03 15:57:10 -0700 | [diff] [blame] | 6 |  | 
| Roman Zippel | d6359fd | 2006-10-06 00:43:55 -0700 | [diff] [blame] | 7 | #define __IN_STRING_C | 
|  | 8 |  | 
| Roman Zippel | 072dffd | 2005-09-03 15:57:10 -0700 | [diff] [blame] | 9 | #include <linux/module.h> | 
| Roman Zippel | d6359fd | 2006-10-06 00:43:55 -0700 | [diff] [blame] | 10 | #include <linux/string.h> | 
|  | 11 |  | 
|  | 12 | char *strcpy(char *dest, const char *src) | 
|  | 13 | { | 
|  | 14 | return __kernel_strcpy(dest, src); | 
|  | 15 | } | 
|  | 16 | EXPORT_SYMBOL(strcpy); | 
| Roman Zippel | 072dffd | 2005-09-03 15:57:10 -0700 | [diff] [blame] | 17 |  | 
| Al Viro | 337e3c4 | 2008-05-21 06:32:11 +0100 | [diff] [blame] | 18 | char *strcat(char *dest, const char *src) | 
|  | 19 | { | 
|  | 20 | return __kernel_strcpy(dest + __kernel_strlen(dest), src); | 
|  | 21 | } | 
|  | 22 | EXPORT_SYMBOL(strcat); |