From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: libc-alpha@sourceware.org
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>, commit-hurd@gnu.org
Subject: [hurd,commited 5/7] hurd: Add __libc_open and __libc_close
Date: Wed, 16 Dec 2020 01:59:42 +0100 [thread overview]
Message-ID: <20201216005944.3091900-6-samuel.thibault@ens-lyon.org> (raw)
In-Reply-To: <20201216005944.3091900-1-samuel.thibault@ens-lyon.org>
Needed by libpthread for sem_open and sem_close
---
hurd/Versions | 1 +
sysdeps/mach/hurd/close.c | 1 +
2 files changed, 2 insertions(+)
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)
--
2.29.2
next prev parent reply other threads:[~2020-12-16 0:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-16 0:59 [hurd,commited 0/7] hurd: add pshared semaphore support Samuel Thibault
2020-12-16 0:59 ` [hurd, commited 1/7] hurd: Rename LLL_INITIALIZER to LLL_LOCK_INITIALIZER Samuel Thibault
2020-12-16 0:59 ` [hurd, commited 2/7] hurd: make lll_* take a variable instead of a ptr Samuel Thibault
2020-12-16 0:59 ` [hurd,commited 3/7] hurd: Add __lll_abstimed_wait_intr Samuel Thibault
2020-12-16 0:59 ` [hurd,commited 4/7] htl: Add futex-internal.h Samuel Thibault
2020-12-16 0:59 ` Samuel Thibault [this message]
2020-12-16 0:59 ` [hurd,commited 6/7] hurd: Add LLL_PRIVATE and LLL_SHARED Samuel Thibault
2020-12-16 0:59 ` [hurd,commited 7/7] htl: Add pshared semaphore support Samuel Thibault
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201216005944.3091900-6-samuel.thibault@ens-lyon.org \
--to=samuel.thibault@ens-lyon.org \
--cc=commit-hurd@gnu.org \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).