diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-01-15 12:53:30 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-01-15 12:53:30 +0000 |
commit | 66097f06dd61d70c8f47aaca225f9f55463d2ab8 (patch) | |
tree | a08664ec93ca08684c7e8e7cf29dfb2b8594a8a9 /winsup/cygwin/heap.cc | |
parent | dc3651b6cd4546c653114ef635de091a3f7e5183 (diff) | |
download | newlib-66097f06dd61d70c8f47aaca225f9f55463d2ab8.zip newlib-66097f06dd61d70c8f47aaca225f9f55463d2ab8.tar.gz newlib-66097f06dd61d70c8f47aaca225f9f55463d2ab8.tar.bz2 |
* heap.cc (heap_init): Fix extern declaration of getpagesize.
* syscalls.cc (getpagesize): Fix another typo.
Diffstat (limited to 'winsup/cygwin/heap.cc')
-rw-r--r-- | winsup/cygwin/heap.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/heap.cc b/winsup/cygwin/heap.cc index d2934f2..0d27d77 100644 --- a/winsup/cygwin/heap.cc +++ b/winsup/cygwin/heap.cc @@ -21,6 +21,8 @@ details. */ static unsigned page_const = 0; +extern "C" size_t getpagesize (); + /* Initialize the heap at process start up. */ void @@ -29,7 +31,6 @@ heap_init () /* If we're the forkee, we must allocate the heap at exactly the same place as our parent. If not, we don't care where it ends up. */ - extern size_t getpagesize (); page_const = getpagesize (); if (brkbase) { |