mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
Add memmove() to builtin/string.h so that portable third_party code may build without glibc. BRANCH=none BUG=chrome-os-partner:43025,chrome-os-partner:47524 TEST=none Change-Id: I8c165d71d9c01d2f869329b3600aac0970f41e71 Signed-off-by: nagendra modadugu <ngm@google.com> Reviewed-on: https://chromium-review.googlesource.com/340293 Commit-Ready: Nagendra Modadugu <ngm@google.com> Tested-by: Nagendra Modadugu <ngm@google.com> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Stefan Reinauer <reinauer@google.com>
19 lines
558 B
C
19 lines
558 B
C
/* 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>
|
|
|
|
int memcmp(const void *s1, const void *s2, size_t len);
|
|
void *memcpy(void *dest, const void *src, size_t len);
|
|
void *memmove(void *dest, const void *src, size_t n);
|
|
void *memset(void *dest, int c, size_t len);
|
|
|
|
#endif /* __CROS_EC_STRINGS_H__ */
|