summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/fork.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-12 10:28:11 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-12 10:28:11 +0000
commit14e7aeceff58b18f970126e1562b0dbf340e2d6c (patch)
treed2f9c7bea22ec0d4d8617a2bd068c9f5ca0a9678 /nptl/sysdeps/unix/sysv/linux/fork.h
parent688e7bfe2b069ade0353cc41ba1582d12d897714 (diff)
Update.
2002-12-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fork-gen.c: Renamed to... * sysdeps/unix/sysv/linux/libc_pthread_init.c: ...this. Initialize __libc_locking_needed. * init.c (__pthread_initialize_minimal): Call __libc_pthread_init instead of __register_pthread_fork_handler. * sysdeps/pthread/bits/libc-lock.h: Declare __libc_locking_needed. * sysdeps/unix/sysv/linux/Makefile (sysdep_routimes): Replace fork-gen with libc_pthread_init. * sysdeps/unix/sysv/linux/Versions: Use __libc_pthread_init instead of __register_pthread_fork_handler. * sysdeps/unix/sysv/linux/fork.h: Declare __libc_pthread_init instead of __register_pthread_fork_handler. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use __libc_locking_needed to determine whether lock prefix can be avoided. * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Likewise.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/fork.h')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/fork.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/fork.h b/nptl/sysdeps/unix/sysv/linux/fork.h
index 85722a59eb..0bc283d1bc 100644
--- a/nptl/sysdeps/unix/sysv/linux/fork.h
+++ b/nptl/sysdeps/unix/sysv/linux/fork.h
@@ -56,5 +56,5 @@ extern int __register_atfork (void (*__prepare) (void),
void *dso_handle);
/* Register the generation counter in the libpthread with the libc. */
-extern void __register_pthread_fork_handler (unsigned long int *__ptr,
- void (*reclaim) (void));
+extern void __libc_pthread_int (unsigned long int *__ptr,
+ void (*reclaim) (void));