Merge git://git.infradead.org/~dwmw2/firmware-2.6
[sfrench/cifs-2.6.git] / arch / m68k / lib / string.c
index b92b89e1ea0cf55466b58d76dec6343032c66ff1..4253f870e54fc8fe24d510bfef948c3751300a69 100644 (file)
@@ -1,6 +1,25 @@
+/*
+ * 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/types.h>
 #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 + __kernel_strlen(dest), src);
+}
+EXPORT_SYMBOL(strcat);
 
 void *memset(void *s, int c, size_t count)
 {