aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/unix
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/unix')
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/fork.h1
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/register-atfork.c1
2 files changed, 2 insertions, 0 deletions
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)