diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/csu/crtbeginS.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/csu/crtbeginS.c b/lib/csu/crtbeginS.c index a4a7cd19fce..cfaf7e40609 100644 --- a/lib/csu/crtbeginS.c +++ b/lib/csu/crtbeginS.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crtbeginS.c,v 1.20 2019/01/09 16:42:38 visa Exp $ */ +/* $OpenBSD: crtbeginS.c,v 1.21 2021/12/17 12:03:16 jca Exp $ */ /* $NetBSD: crtbegin.c,v 1.1 1996/09/12 16:59:03 cgd Exp $ */ /* @@ -83,6 +83,8 @@ asm(".hidden atexit"); */ int _thread_atfork(void (*)(void), void (*)(void), void (*)(void), void *) __attribute__((weak)); +int pthread_atfork(void (*)(void), void (*)(void), void (*)(void)) + __attribute__((weak)); int pthread_atfork(void (*prep)(void), void (*parent)(void), void (*child)(void)) |