diff --git a/include/pthread_workqueue.h b/include/pthread_workqueue.h index 9f09d91..030a424 100644 --- a/include/pthread_workqueue.h +++ b/include/pthread_workqueue.h @@ -95,7 +95,7 @@ void _PWQ_EXPORT pthread_workqueue_suspend_np(void); void _PWQ_EXPORT pthread_workqueue_resume_np(void); void _PWQ_EXPORT pthread_workqueue_signal_np(void); -void _PWQ_EXPORT (*libpwq_thread_cleanup_handler)(); +extern void _PWQ_EXPORT (*libpwq_thread_cleanup_handler)(); #if defined(__cplusplus) } #endif