Blame view

arch/m68k/lib/string.c 490 Bytes
d6359fd78   Roman Zippel   [PATCH] m68k: cle...
1
2
3
4
5
6
7
  /*
   * 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
072dffda1   Roman Zippel   [PATCH] m68k: cle...
8

072dffda1   Roman Zippel   [PATCH] m68k: cle...
9
  #include <linux/module.h>
d6359fd78   Roman Zippel   [PATCH] m68k: cle...
10
11
12
13
14
15
16
  #include <linux/string.h>
  
  char *strcpy(char *dest, const char *src)
  {
  	return __kernel_strcpy(dest, src);
  }
  EXPORT_SYMBOL(strcpy);
072dffda1   Roman Zippel   [PATCH] m68k: cle...
17

337e3c48e   Al Viro   provide out-of-li...
18
19
20
21
22
  char *strcat(char *dest, const char *src)
  {
  	return __kernel_strcpy(dest + __kernel_strlen(dest), src);
  }
  EXPORT_SYMBOL(strcat);