linux/arch/cris/include/asm/string.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2#ifndef _ASM_CRIS_STRING_H
   3#define _ASM_CRIS_STRING_H
   4
   5/* the optimized memcpy is in arch/cris/lib/string.c */
   6
   7#define __HAVE_ARCH_MEMCPY
   8extern void *memcpy(void *, const void *, size_t);
   9
  10/* New and improved.  In arch/cris/lib/memset.c */
  11
  12#define __HAVE_ARCH_MEMSET
  13extern void *memset(void *, int, size_t);
  14
  15#ifdef CONFIG_ETRAX_ARCH_V32
  16/* For v32 we provide strcmp.  */
  17#define __HAVE_ARCH_STRCMP
  18extern int strcmp(const char *s1, const char *s2);
  19#endif
  20
  21#endif
  22