Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2001-03-22 00:47:31 +0300
committerJeff Johnston <jjohnstn@redhat.com>2001-03-22 00:47:31 +0300
commit4833b38c4e0568a6b3f063c6eaee6ccf655b3312 (patch)
tree9192f22fe6ea92ee16b47eb25c7e4a58c1228aee /newlib/libc/reent/sbrkr.c
parentc0fb395ff347d5e46552c626b6684d0db53ae7f7 (diff)
2001-03-21 Egor Duda <deo@logos-m.ru>
Allow building internal stubs for non-reentrant syscalls if target provides its own malloc * libc/reent/reent.c (errno): Move definition here. * libc/reent/sbrkr.c: From here.
Diffstat (limited to 'newlib/libc/reent/sbrkr.c')
-rw-r--r--newlib/libc/reent/sbrkr.c5
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