diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-12-13 13:29:25 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-12-16 01:58:33 +0100 |
commit | f26f0d766b940b4e9e82dabb2eb31b7a282b2246 (patch) | |
tree | cdf7cf2c3cc7ada881567dfa818a2f41360112bb | |
parent | 6e411b42f8c76081cf3ce8b15df10d4d3189e465 (diff) | |
download | glibc-f26f0d766b940b4e9e82dabb2eb31b7a282b2246.tar.gz glibc-f26f0d766b940b4e9e82dabb2eb31b7a282b2246.tar.xz glibc-f26f0d766b940b4e9e82dabb2eb31b7a282b2246.zip |
hurd: Add __libc_open and __libc_close
Needed by libpthread for sem_open and sem_close
-rw-r--r-- | hurd/Versions | 1 | ||||
-rw-r--r-- | sysdeps/mach/hurd/close.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/hurd/Versions b/hurd/Versions index 1aad27d91f..b66d37be07 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 b461087447..b6530dfeee 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) |