From 557673603bb553e90106e7d14da6447a5ff82164 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 28 Sep 2020 18:47:13 -0400 Subject: move aio implementation details to a proper internal header also fix the lack of declaration (and thus hidden visibility) in __stdio_close's use of __aio_close. --- src/internal/aio_impl.h | 9 +++++++++ src/internal/pthread_impl.h | 3 --- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 src/internal/aio_impl.h (limited to 'src/internal') diff --git a/src/internal/aio_impl.h b/src/internal/aio_impl.h new file mode 100644 index 00000000..a8657665 --- /dev/null +++ b/src/internal/aio_impl.h @@ -0,0 +1,9 @@ +#ifndef AIO_IMPL_H +#define AIO_IMPL_H + +extern hidden volatile int __aio_fut; + +extern hidden int __aio_close(int); +extern hidden void __aio_atfork(int); + +#endif diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 394dcb19..1322a6a8 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -154,11 +154,8 @@ hidden int __pthread_key_delete_impl(pthread_key_t); extern hidden volatile size_t __pthread_tsd_size; extern hidden void *__pthread_tsd_main[]; -extern hidden volatile int __aio_fut; extern hidden volatile int __eintr_valid_flag; -extern hidden void __aio_atfork(int); - hidden int __clone(int (*)(void *), void *, int, void *, ...); hidden int __set_thread_area(void *); hidden int __libc_sigaction(int, const struct sigaction *, struct sigaction *); -- cgit v1.2.1