hurd: Add __libc_open and __libc_close

Needed by libpthread for sem_open and sem_close
This commit is contained in:
Samuel Thibault 2020-12-13 13:29:25 +00:00
parent 6e411b42f8
commit f26f0d766b
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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)