From d12506b2dbbeb259468e0f06e87a98174e69a743 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 25 Jun 2021 10:30:35 +0200 Subject: Linux: Move aio_init from librt into libc This commit also moves the aio_misc and aio_sigquue helper, so GLIBC_PRIVATE exports need to be added. The symbol was moved using scripts/move-symbol-to-libc.py. Reviewed-by: Adhemerval Zanella --- sysdeps/nptl/aio_misc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/nptl/aio_misc.h') diff --git a/sysdeps/nptl/aio_misc.h b/sysdeps/nptl/aio_misc.h index a5c439fab5..d85f9c2fef 100644 --- a/sysdeps/nptl/aio_misc.h +++ b/sysdeps/nptl/aio_misc.h @@ -39,7 +39,7 @@ \ if (oldval != 0) \ { \ - pthread_mutex_unlock (&__aio_requests_mutex); \ + __pthread_mutex_unlock (&__aio_requests_mutex); \ \ int status; \ do \ @@ -67,7 +67,7 @@ else \ assert (status == 0 || status == EAGAIN); \ \ - pthread_mutex_lock (&__aio_requests_mutex); \ + __pthread_mutex_lock (&__aio_requests_mutex); \ } \ } while (0) -- cgit 1.4.1