about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/Makefile
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-12-13 03:32:21 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-12-13 03:39:28 +0100
commit186e119bbd4a10895429ffe405ae96dc5c5634b8 (patch)
tree682816646e16dd89c3b71feba23150f3773da44b /sysdeps/mach/hurd/Makefile
parentfe75ee0ca65536352fcdaebfbf39aac9bee271f0 (diff)
downloadglibc-186e119bbd4a10895429ffe405ae96dc5c5634b8.tar.gz
glibc-186e119bbd4a10895429ffe405ae96dc5c5634b8.tar.xz
glibc-186e119bbd4a10895429ffe405ae96dc5c5634b8.zip
hurd: Fix __close_nocancel_nostatus availability
Not only libc/rtld use __close_nocancel_nostatus.

* sysdeps/mach/hurd/Makefile [$(subdir) == io] (sysdep_routines): Add
close_nocancel_nostatus.
* sysdeps/mach/hurd/Versions (libc): Add __close_nocancel_nostatus to
GLIBC_PRIVATE.
* sysdeps/mach/hurd/not-cancel.h (__close_nocancel_nostatus): Declare
function instead of defining inline.
[IS_IN (libc) || IS_IN (rtld)] (__close_nocancel_nostatus): Make
function hidden.
* sysdeps/mach/hurd/close_nocancel_nostatus.c: New file.
Diffstat (limited to 'sysdeps/mach/hurd/Makefile')
-rw-r--r--sysdeps/mach/hurd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile
index 0ae65291d3..6b48d8f843 100644
--- a/sysdeps/mach/hurd/Makefile
+++ b/sysdeps/mach/hurd/Makefile
@@ -196,7 +196,7 @@ sysdep_routines += cthreads
 endif
 
 ifeq (io, $(subdir))
-sysdep_routines += f_setlk
+sysdep_routines += f_setlk close_nocancel_nostatus
 endif
 
 ifeq ($(subdir),sunrpc)