aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/pthread_once.3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-12-13 14:19:28 +0100
committerAlejandro Colomar <alx@kernel.org>2025-01-11 20:58:36 +0100
commit850f46e7df4f096dd073bafbad9eba219707dda5 (patch)
tree63a14efb7d88bb7a498db52095a3c0cd9a68dd72 /man/man3/pthread_once.3
parentc18816ffef561732c7958584eb52b21b3ee2c538 (diff)
downloadman-pages-850f46e7df4f096dd073bafbad9eba219707dda5.tar.gz
man/man3/: SYNOPSIS: Use typeof() to improve readability of function pointer types
Due to different spacing, I had missed these ones in the previous commits of this kind. Suggested-by: Jorenar <dev@jorenar.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/pthread_once.3')
-rw-r--r--man/man3/pthread_once.32
1 files changed, 1 insertions, 1 deletions
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