diff options
| author | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
| commit | 8e4bff4cab0ddac6060645b0715210484d02ff40 (patch) | |
| tree | 3a5c3024371a04692a3a6d9974d001cdff8ebf84 /arch/m68k/lib/string.c | |
Diffstat (limited to 'arch/m68k/lib/string.c')
| -rw-r--r-- | arch/m68k/lib/string.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/m68k/lib/string.c b/arch/m68k/lib/string.c new file mode 100644 index 00000000..4d61fa8a --- /dev/null +++ b/arch/m68k/lib/string.c @@ -0,0 +1,22 @@ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file COPYING in the main directory of this archive + * for more details. + */ + +#define __IN_STRING_C + +#include <linux/module.h> +#include <linux/string.h> + +char *strcpy(char *dest, const char *src) +{ + return __kernel_strcpy(dest, src); +} +EXPORT_SYMBOL(strcpy); + +char *strcat(char *dest, const char *src) +{ + return __kernel_strcpy(dest + strlen(dest), src); +} +EXPORT_SYMBOL(strcat); |
