about summary refs log tree commit diff
path: root/posix/register-atfork.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/register-atfork.c')
-rw-r--r--posix/register-atfork.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/register-atfork.c b/posix/register-atfork.c
index 4d89a457a0..14ebc2587a 100644
--- a/posix/register-atfork.c
+++ b/posix/register-atfork.c
@@ -217,7 +217,8 @@ __run_postfork_handlers (enum __run_fork_handler_type who, _Bool do_locking,
 }
 
 
-libc_freeres_fn (free_mem)
+void
+__libc_atfork_freemem (void)
 {
   lll_lock (atfork_lock, LLL_PRIVATE);