diff options
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/ChangeLog | 7 | ||||
-rw-r--r-- | linuxthreads/sysdeps/unix/sysv/linux/fork.h | 1 | ||||
-rw-r--r-- | linuxthreads/sysdeps/unix/sysv/linux/register-atfork.c | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index fafea62907..20ee770f8f 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,10 @@ +2002-12-31 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/fork.h: Add libc_hidden_proto for + __register_atfork. + * sysdeps/unix/sysv/linux/register-atfork.c: Add libc_hidden_def + for __register_atfork. + 2002-12-31 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/i686/pt-machine.h: Use __ASSEMBLER__ instead of diff --git a/linuxthreads/sysdeps/unix/sysv/linux/fork.h b/linuxthreads/sysdeps/unix/sysv/linux/fork.h index e84119a2ef..76708e3e39 100644 --- a/linuxthreads/sysdeps/unix/sysv/linux/fork.h +++ b/linuxthreads/sysdeps/unix/sysv/linux/fork.h @@ -53,6 +53,7 @@ extern int __register_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void), void *dso_handle); +libc_hidden_proto (__register_atfork) #ifndef ARCH_FORK # define ARCH_FORK() INLINE_SYSCALL (fork, 0) diff --git a/linuxthreads/sysdeps/unix/sysv/linux/register-atfork.c b/linuxthreads/sysdeps/unix/sysv/linux/register-atfork.c index 2dce262a38..e4490e73e9 100644 --- a/linuxthreads/sysdeps/unix/sysv/linux/register-atfork.c +++ b/linuxthreads/sysdeps/unix/sysv/linux/register-atfork.c @@ -85,3 +85,4 @@ __register_atfork (prepare, parent, child, dso_handle) return 0; } +libc_hidden_def (__register_atfork) |