diff options
Diffstat (limited to 'newlib/libc/reent/sbrkr.c')
-rw-r--r-- | newlib/libc/reent/sbrkr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/newlib/libc/reent/sbrkr.c b/newlib/libc/reent/sbrkr.c index 7f6930ead..31c9de3d5 100644 --- a/newlib/libc/reent/sbrkr.c +++ b/newlib/libc/reent/sbrkr.c @@ -1,5 +1,4 @@ -/* Reentrant versions of sbrk system call. This implementation just - calls the stat system call. */ +/* Reentrant version of sbrk system call. */ #include <reent.h> #include <unistd.h> @@ -24,7 +23,7 @@ int _dummy_sbrk_syscalls = 1; /* We use the errno variable used by the system dependent layer. */ #undef errno -int errno; +extern int errno; /* FUNCTION |