string.h 389 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _H8300_STRING_H_
  3. #define _H8300_STRING_H_
  4. #ifdef __KERNEL__ /* only set these up for kernel code */
  5. #include <asm/setup.h>
  6. #include <asm/page.h>
  7. #define __HAVE_ARCH_MEMSET
  8. extern void *memset(void *s, int c, size_t count);
  9. #define __HAVE_ARCH_MEMCPY
  10. extern void *memcpy(void *d, const void *s, size_t count);
  11. #endif /* KERNEL */
  12. #endif