string.h 469 B

123456789101112131415161718192021
  1. #ifndef _ASM_CRIS_STRING_H
  2. #define _ASM_CRIS_STRING_H
  3. /* the optimized memcpy is in arch/cris/lib/string.c */
  4. #define __HAVE_ARCH_MEMCPY
  5. extern void *memcpy(void *, const void *, size_t);
  6. /* New and improved. In arch/cris/lib/memset.c */
  7. #define __HAVE_ARCH_MEMSET
  8. extern void *memset(void *, int, size_t);
  9. #ifdef CONFIG_ETRAX_ARCH_V32
  10. /* For v32 we provide strcmp. */
  11. #define __HAVE_ARCH_STRCMP
  12. extern int strcmp(const char *s1, const char *s2);
  13. #endif
  14. #endif