mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
Hurd: Hurd: dl-sysdep.c: Include code only #ifdef SHARED.
This commit is contained in:
parent
802ca5a5ef
commit
cd9fa98583
@ -1,5 +1,7 @@
|
||||
2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
|
||||
* sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
|
||||
|
||||
* hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
|
||||
HURD_CRITICAL_END around holding _hurd_dtable_lock.
|
||||
* sysdeps/mach/hurd/dirfd (dirfd): Likewise.
|
||||
|
@ -16,6 +16,10 @@
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
/* In the static library, this is all handled by dl-support.c
|
||||
or by the vanilla definitions in the rest of the C library. */
|
||||
#ifdef SHARED
|
||||
|
||||
#include <hurd.h>
|
||||
#include <link.h>
|
||||
#include <unistd.h>
|
||||
@ -667,3 +671,5 @@ _dl_init_first (int argc, ...)
|
||||
{
|
||||
/* This no-op definition only gets used if libc is not linked in. */
|
||||
}
|
||||
|
||||
#endif /* SHARED */
|
||||
|
Loading…
Reference in New Issue
Block a user