summaryrefslogtreecommitdiff
path: root/vpx_mem
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2015-04-23 20:42:19 -0700
committerJames Zern <jzern@google.com>2015-04-28 19:59:41 -0700
commitf274c2199beab8cd656efd0660222b1aa1864ce8 (patch)
treee0c13f5595c685c161c32f6e89be9b8f22c1e397 /vpx_mem
parentfbd3b89488d48e4221b73d67eab3fdb25e2a6c57 (diff)
downloadlibvpx-f274c2199beab8cd656efd0660222b1aa1864ce8.tar
libvpx-f274c2199beab8cd656efd0660222b1aa1864ce8.tar.gz
libvpx-f274c2199beab8cd656efd0660222b1aa1864ce8.tar.bz2
libvpx-f274c2199beab8cd656efd0660222b1aa1864ce8.zip
vpx_mem: remove vpx_memcpy
vestigial. replace instances with memcpy() which they already were being defined to. Change-Id: Icfd1b0bc5d95b70efab91b9ae777ace1e81d2d7c
Diffstat (limited to 'vpx_mem')
-rw-r--r--vpx_mem/vpx_mem.c4
-rw-r--r--vpx_mem/vpx_mem.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/vpx_mem/vpx_mem.c b/vpx_mem/vpx_mem.c
index f944b1090..1513b0fe4 100644
--- a/vpx_mem/vpx_mem.c
+++ b/vpx_mem/vpx_mem.c
@@ -91,10 +91,6 @@ void vpx_free(void *memblk) {
}
}
-void *vpx_memcpy(void *dest, const void *source, size_t length) {
- return memcpy(dest, source, length);
-}
-
void *vpx_memset(void *dest, int val, size_t length) {
return memset(dest, val, length);
}
diff --git a/vpx_mem/vpx_mem.h b/vpx_mem/vpx_mem.h
index 0aaadf52f..37c9bcb23 100644
--- a/vpx_mem/vpx_mem.h
+++ b/vpx_mem/vpx_mem.h
@@ -30,7 +30,6 @@ extern "C" {
void *vpx_realloc(void *memblk, size_t size);
void vpx_free(void *memblk);
- void *vpx_memcpy(void *dest, const void *src, size_t length);
void *vpx_memset(void *dest, int val, size_t length);
#if CONFIG_VP9 && CONFIG_VP9_HIGHBITDEPTH
void *vpx_memset16(void *dest, int val, size_t length);
@@ -38,7 +37,6 @@ extern "C" {
#ifndef __VPX_MEM_C__
# include <string.h>
-# define vpx_memcpy memcpy
# define vpx_memset memset
#endif