OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76f60e2
)
Restore posix_memalign
author
Brian Carlstrom
<bdc@google.com>
Tue, 21 Aug 2012 01:28:20 +0000
(18:28 -0700)
committer
Brian Carlstrom
<bdc@google.com>
Tue, 21 Aug 2012 01:28:20 +0000
(18:28 -0700)
Change-Id: I24e31bcb8b1d8be9375852e76964f09becd11938
libc/bionic/malloc_debug_common.c
patch
|
blob
|
history
diff --git
a/libc/bionic/malloc_debug_common.c
b/libc/bionic/malloc_debug_common.c
index
9333de9
..
2f4e55b
100644
(file)
--- a/
libc/bionic/malloc_debug_common.c
+++ b/
libc/bionic/malloc_debug_common.c
@@
-210,6
+210,11
@@
void* pvalloc(size_t bytes)
return dlpvalloc(bytes);
}
+int posix_memalign(void** memptr, size_t alignment, size_t size)
+{
+ return dlposix_memalign(memptr, alignment, size);
+}
+
/* Support for malloc debugging.
* Note that if USE_DL_PREFIX is not defined, it's assumed that memory
* allocation routines are implemented somewhere else, so all our custom