1 // SPDX-License-Identifier: GPL-2.0 2 #include <linux/string.h> 3 #include <linux/export.h> 4 5 #undef memcpy 6 #undef memset 7 #undef memmove 8 9 __visible void *memcpy(void *to, const void *from, size_t n) 10 { 11 return __memcpy(to, from, n); 12 } 13 EXPORT_SYMBOL(memcpy); 14 15 __visible void *memset(void *s, int c, size_t count) 16 { 17 return __memset(s, c, count); 18 } 19 EXPORT_SYMBOL(memset); 20