diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-25 10:30:36 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-25 11:55:27 +0200 |
commit | 32e750516c653bc3005aaef87124a587a7bef196 (patch) | |
tree | a90a00b58b191b7691cc2252ac4cf81b0aa50a74 /include/aio.h | |
parent | Linux: Move aio_return, aio_return64 into libc (diff) | |
download | glibc-32e750516c653bc3005aaef87124a587a7bef196.tar.gz glibc-32e750516c653bc3005aaef87124a587a7bef196.tar.bz2 glibc-32e750516c653bc3005aaef87124a587a7bef196.zip |
Linux: Move aio_suspend, aio_suspend64, __aio_suspend_time64 to libc
The symbols were moved using scripts/move-symbol-to-libc.py.
There is a minor oddity here: This is generic code shared with Hurd,
and Hurd does not have time64 support. This is why the
versioned_symbol export for __aio_suspend_time64 is restricted to
the PTHREAD_IN_LIBC code.
Reviewed-by: Adhemerva Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'include/aio.h')
-rw-r--r-- | include/aio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/aio.h b/include/aio.h index c7f4233310..5d67800aff 100644 --- a/include/aio.h +++ b/include/aio.h @@ -15,7 +15,11 @@ extern void __aio_init (const struct aioinit *__init); # else extern int __aio_suspend_time64 (const struct aiocb *const list[], int nent, const struct __timespec64 *timeout); +# if PTHREAD_IN_LIBC +libc_hidden_proto (__aio_suspend_time64) +# else librt_hidden_proto (__aio_suspend_time64) +#endif # endif #endif |