aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hurd/Versions1
-rw-r--r--sysdeps/mach/hurd/close.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hurd/Versions b/hurd/Versions
index 1aad27d..b66d37b 100644
--- a/hurd/Versions
+++ b/hurd/Versions
@@ -153,6 +153,7 @@ libc {
__lll_abstimed_lock; __lll_robust_lock;
__lll_robust_abstimed_lock; __lll_robust_trylock;
__lll_robust_unlock;
+ __libc_open; __libc_close;
# Used by libpthread.
_hurd_sigstate_set_global_rcv;
diff --git a/sysdeps/mach/hurd/close.c b/sysdeps/mach/hurd/close.c
index b461087..b6530df 100644
--- a/sysdeps/mach/hurd/close.c
+++ b/sysdeps/mach/hurd/close.c
@@ -35,4 +35,5 @@ __close (int fd)
return err ? __hurd_fail (err) : 0;
}
libc_hidden_def (__close)
+strong_alias (__close, __libc_close)
weak_alias (__close, close)