Add weak alias to non-__ name.
authorRoland McGrath <roland@gnu.org>
Fri, 5 May 1995 14:36:22 +0000 (14:36 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 5 May 1995 14:36:22 +0000 (14:36 +0000)
mach/mig-alloc.c

index 6f05153..91b45a7 100644 (file)
@@ -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)