From 32e750516c653bc3005aaef87124a587a7bef196 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 25 Jun 2021 10:30:36 +0200 Subject: 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 --- include/aio.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 -- cgit 1.4.1