aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-16 04:13:09 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-16 04:13:09 +0200
commit62fb9852d4eb8044c1eff576353b29580a83805e (patch)
tree1972e9f63bf9fa11797926f92e2985efefd7815f
parentfix realloc + add extalloc and naive_extalloc (diff)
downloadslibc-62fb9852d4eb8044c1eff576353b29580a83805e.tar.gz
slibc-62fb9852d4eb8044c1eff576353b29580a83805e.tar.bz2
slibc-62fb9852d4eb8044c1eff576353b29580a83805e.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/slibc-alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slibc-alloc.c b/src/slibc-alloc.c
index 9380d24..ac81530 100644
--- a/src/slibc-alloc.c
+++ b/src/slibc-alloc.c
@@ -289,7 +289,7 @@ void* naive_realloc(void* ptr, size_t size)
void* naive_extalloc(void* ptr, size_t size)
{
/* TODO implement naive_extalloc */
- return NULL;
+ return errno = 0, NULL;
(void) ptr, (void) size;
}