Do not add the pthread_atfork routine again in nptl/Makefile,
instead rely on sysdeps/pthread/Makefile for the integration
(as this is the directory that contains the source file).
In sysdeps/pthread/Makefile, add to static-only-routines.
Reviewed-by: Joseph Myers <josmyers@redhat.com>
old_pthread_cond_signal \
old_pthread_cond_timedwait \
old_pthread_cond_wait \
- pthread_atfork \
pthread_attr_copy \
pthread_attr_destroy \
pthread_attr_extension \
vars \
# routines
-static-only-routines = pthread_atfork
libpthread-routines = libpthread-compat
libpthread-shared-only-routines = libpthread-compat
tst-thrd-sleep-time64 \
# tests-time64
-static-only-routines = pthread_atfork
+static-only-routines += pthread_atfork
# Files which must not be linked with libpthread.
tests-nolibpthread += \