diff options
Diffstat (limited to 'builtin/string.h')
-rw-r--r-- | builtin/string.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/builtin/string.h b/builtin/string.h new file mode 100644 index 0000000000..d30dda8324 --- /dev/null +++ b/builtin/string.h @@ -0,0 +1,16 @@ +/* Copyright 2016 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +/* This header is only needed for CR50 compatibility */ + +#ifndef __CROS_EC_STRINGS_H__ +#define __CROS_EC_STRINGS_H__ + +#include <stddef.h> + +void *memcpy(void *dest, const void *src, size_t len); +void *memset(void *dest, int c, size_t len); + +#endif /* __CROS_EC_STRINGS_H__ */ |