about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/brk.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-06-20 21:32:45 +0000
committerMiles Bader <miles@gnu.org>1996-06-20 21:32:45 +0000
commit51ec5cb28a542f6eb8596050c678a2438084b3de (patch)
treed87f17783371fa5fc63d6a211cc03d3de150897a /sysdeps/mach/hurd/brk.c
parentae6095ca6f1c82a58e8dd880a8d237012e283075 (diff)
downloadglibc-51ec5cb28a542f6eb8596050c678a2438084b3de.tar.gz
glibc-51ec5cb28a542f6eb8596050c678a2438084b3de.tar.xz
glibc-51ec5cb28a542f6eb8596050c678a2438084b3de.zip
Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
	* sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.

	* hurd/getuids.c (getuids): New weak link to __getuids.
Diffstat (limited to 'sysdeps/mach/hurd/brk.c')
-rw-r--r--sysdeps/mach/hurd/brk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/brk.c b/sysdeps/mach/hurd/brk.c
index 73a339961c..4901ec1571 100644
--- a/sysdeps/mach/hurd/brk.c
+++ b/sysdeps/mach/hurd/brk.c
@@ -33,12 +33,12 @@ vm_address_t _hurd_data_end;
 
 /* Up to this address is actually available to the user.
    Pages beyond the one containing this address allow no access.  */
-vm_address_t _hurd_brk;
+vm_address_t _hurd_brk = 0;
 
 /* This name is used by the Linux crtbeginS.o for reasons you don't even
    want to think about it.  It's just easier to provide some definition for
    it than even to explain the braindamage involved.  */
-vm_address_t ___brk_addr = 0;
+weak_alias (_hurd_brk, ___brk_addr)
 
 struct mutex _hurd_brk_lock;