diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-10-16 04:13:09 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-10-16 04:13:09 +0200 |
commit | 62fb9852d4eb8044c1eff576353b29580a83805e (patch) | |
tree | 1972e9f63bf9fa11797926f92e2985efefd7815f | |
parent | fix realloc + add extalloc and naive_extalloc (diff) | |
download | slibc-62fb9852d4eb8044c1eff576353b29580a83805e.tar.gz slibc-62fb9852d4eb8044c1eff576353b29580a83805e.tar.bz2 slibc-62fb9852d4eb8044c1eff576353b29580a83805e.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/slibc-alloc.c | 2 |
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; } |