summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/shm-directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/shm-directory.c')
-rw-r--r--sysdeps/unix/sysv/linux/shm-directory.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/shm-directory.c b/sysdeps/unix/sysv/linux/shm-directory.c
index 222b6e6a45..6a7c7fd182 100644
--- a/sysdeps/unix/sysv/linux/shm-directory.c
+++ b/sysdeps/unix/sysv/linux/shm-directory.c
@@ -1,5 +1,5 @@
/* Determine directory for shm/sem files. Linux version.
- Copyright (C) 2000-2016 Free Software Foundation, Inc.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -135,13 +135,13 @@ __shm_directory (size_t *len)
}
#if IS_IN (libpthread)
hidden_def (__shm_directory)
-#endif
-
/* Make sure the table is freed if we want to free everything before
exiting. */
-libc_freeres_fn (freeit)
+void
+__shm_directory_freeres (void)
{
if (mountpoint.dir != defaultdir)
free (mountpoint.dir);
}
+#endif