mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Add weak alias to non-__ name.
This commit is contained in:
@@ -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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
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)
|
if (__vm_allocate (__mach_task_self (), addr, size, 1) != KERN_SUCCESS)
|
||||||
*addr = 0;
|
*addr = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
weak_alias (__mig_allocate, mig_allocate)
|
||||||
|
Reference in New Issue
Block a user