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