aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/man3/pthread_key_create.32
-rw-r--r--man/man3/pthread_once.32
2 files changed, 2 insertions, 2 deletions
diff --git a/man/man3/pthread_key_create.3 b/man/man3/pthread_key_create.3
index 966e5a24af..78266bb689 100644
--- a/man/man3/pthread_key_create.3
+++ b/man/man3/pthread_key_create.3
@@ -20,7 +20,7 @@ management of thread-specific data
.B #include <pthread.h>
.P
.BI "int pthread_key_create(pthread_key_t *" key ,
-.BI " void (*" destr_function ") (void *));"
+.BI " typeof(void (void *)) *" destr_function ;
.BI "int pthread_key_delete(pthread_key_t " key );
.BI "int pthread_setspecific(pthread_key_t " key ", const void *" pointer );
.BI "void * pthread_getspecific(pthread_key_t " key );
diff --git a/man/man3/pthread_once.3 b/man/man3/pthread_once.3
index 17d25360fc..2497f95d18 100644
--- a/man/man3/pthread_once.3
+++ b/man/man3/pthread_once.3
@@ -17,7 +17,7 @@ once-only initialization
.P
.BI "pthread_once_t " once_control " = PTHREAD_ONCE_INIT;"
.P
-.BI "int pthread_once(pthread_once_t *" once_control ", void (*" init_routine ") (void));"
+.BI "int pthread_once(pthread_once_t *" once_control ", typeof(void (void)) *" init_routine ;
.
.
.SH DESCRIPTION