Linux Audio

Check our new training course

Loading...
v6.8
 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}
13EXPORT_SYMBOL(memcpy);
14
15__visible void *memset(void *s, int c, size_t count)
16{
17	return __memset(s, c, count);
18}
19EXPORT_SYMBOL(memset);
v6.13.7
 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}
13EXPORT_SYMBOL(memcpy);
14
15__visible void *memset(void *s, int c, size_t count)
16{
17	return __memset(s, c, count);
18}
19EXPORT_SYMBOL(memset);