blob: 795ca4f2cb3c912e37f214802cde76fc4fea7985 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/*
2 * Simple string functions.
3 *
4 * Copyright (C) 2014 Red Hat Inc.
5 *
6 * Author:
7 * Vivek Goyal <vgoyal@redhat.com>
8 *
9 * This source code is licensed under the GNU General Public License,
10 * Version 2. See the file COPYING for more details.
11 */
12
13#include <linux/types.h>
14
15#include "../boot/string.c"
16
17void *memcpy(void *dst, const void *src, size_t len)
18{
19 return __builtin_memcpy(dst, src, len);
20}
21
22void *memset(void *dst, int c, size_t len)
23{
24 return __builtin_memset(dst, c, len);
25}