aboutsummaryrefslogtreecommitdiff
path: root/mach/mig-alloc.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-05-05 14:36:22 +0000
committerRoland McGrath <roland@gnu.org>1995-05-05 14:36:22 +0000
commit0fb807c1dbb08de4408c440c2db490b52bd16f57 (patch)
tree3bb76c13de3d199dd4db81ed09fdc47bcb7d9455 /mach/mig-alloc.c
parent1f1c1b2bb56d34649551e14b4be0af173ebc9607 (diff)
downloadglibc-0fb807c1dbb08de4408c440c2db490b52bd16f57.tar
glibc-0fb807c1dbb08de4408c440c2db490b52bd16f57.tar.gz
glibc-0fb807c1dbb08de4408c440c2db490b52bd16f57.tar.bz2
glibc-0fb807c1dbb08de4408c440c2db490b52bd16f57.zip
Add weak alias to non-__ name.
Diffstat (limited to 'mach/mig-alloc.c')
-rw-r--r--mach/mig-alloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mach/mig-alloc.c b/mach/mig-alloc.c
index 6f05153acc..91b45a76ec 100644
--- a/mach/mig-alloc.c
+++ b/mach/mig-alloc.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -26,3 +26,5 @@ __mig_allocate (vm_address_t *addr,
if (__vm_allocate (__mach_task_self (), addr, size, 1) != KERN_SUCCESS)
*addr = 0;
}
+
+weak_alias (__mig_allocate, mig_allocate)