From 4a94984f78e64bdccd3e4a779d66a48d510d7399 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 4 Aug 2018 02:25:40 +0200 Subject: [PATCH] Reduce the diff with DeforaOS libc --- src/lib/unistd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/unistd.c b/src/lib/unistd.c index 11f38d2..b516a34 100644 --- a/src/lib/unistd.c +++ b/src/lib/unistd.c @@ -17,8 +17,6 @@ static ukConsole * _fildes[STDERR_FILENO + 1] = { NULL, NULL, NULL }; /* public */ /* variables */ -extern void * end; - char ** environ; @@ -45,6 +43,7 @@ ssize_t read(int fildes, void * buf, size_t count) /* sbrk */ extern int _brk(void * addr); +extern void * end; void * sbrk(intptr_t increment) {