From aec827c168fe9dd06c6ab968aeac0481fd5c989a Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sat, 17 Aug 2024 20:09:22 +0200 Subject: [PATCH] posix: do not export _init and _cleanup functions --- libsqsh/include/sqsh_posix_private.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libsqsh/include/sqsh_posix_private.h b/libsqsh/include/sqsh_posix_private.h index 370e2743..f3cc7cc6 100644 --- a/libsqsh/include/sqsh_posix_private.h +++ b/libsqsh/include/sqsh_posix_private.h @@ -46,9 +46,10 @@ struct SqshThreadpool { struct CxThreadpool pool; }; -int sqsh__threadpool_init(struct SqshThreadpool *pool, size_t threads); +SQSH_NO_EXPORT int +sqsh__threadpool_init(struct SqshThreadpool *pool, size_t threads); -int sqsh__threadpool_cleanup(struct SqshThreadpool *pool); +SQSH_NO_EXPORT int sqsh__threadpool_cleanup(struct SqshThreadpool *pool); #ifdef __cplusplus }