From: Roland McGrath Date: Fri, 5 May 1995 14:36:22 +0000 (+0000) Subject: Add weak alias to non-__ name. X-Git-Tag: cvs/libc-950722~65 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=0fb807c1dbb08de4408c440c2db490b52bd16f57;p=glibc.git Add weak alias to non-__ name. --- 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)