diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-04-05 09:36:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-04-05 09:36:56 +0000 |
commit | 54e0138f7f9ff016d3cb6b2cb02a3ca2a727b6e7 (patch) | |
tree | 80626ba7cdf1e2b1bbb1d1ef3481b62f9a85b17e /nptl/sysdeps/unix/sysv/linux/fork.h | |
parent | b22d701bb72b928526efff83c019b912f469af72 (diff) | |
download | glibc-54e0138f7f9ff016d3cb6b2cb02a3ca2a727b6e7.tar.gz |
Update.
2003-04-05 Ulrich Drepper <drepper@redhat.com>
* malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If
HAVE_register_atfork_malloc is defined use __register_atfork_malloc
instead of __register_atfork.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/fork.h')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/fork.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/fork.h b/nptl/sysdeps/unix/sysv/linux/fork.h index f3f4c38a55..e59ae87964 100644 --- a/nptl/sysdeps/unix/sysv/linux/fork.h +++ b/nptl/sysdeps/unix/sysv/linux/fork.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2002 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. @@ -54,4 +54,9 @@ extern int __register_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void), void *dso_handle); -libc_hidden_proto (__register_atfork) + +extern void __register_atfork_malloc (void (*prepare) (void), + void (*parent) (void), + void (*child) (void), + void *dso_handle) attribute_hidden; +#define HAVE_register_atfork_malloc |