35 lines
835 B
Diff
35 lines
835 B
Diff
|
2016-04-14 Florian Weimer <fweimer@redhat.com>
|
||
|
|
||
|
* malloc/arena.c (__malloc_fork_lock_parent)
|
||
|
(__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
|
||
|
internal_function attribute.
|
||
|
|
||
|
Index: glibc-2.23/malloc/arena.c
|
||
|
===================================================================
|
||
|
--- glibc-2.23.orig/malloc/arena.c
|
||
|
+++ glibc-2.23/malloc/arena.c
|
||
|
@@ -139,6 +139,7 @@ int __malloc_initialized = -1;
|
||
|
subsystem. */
|
||
|
|
||
|
void
|
||
|
+internal_function
|
||
|
__malloc_fork_lock_parent (void)
|
||
|
{
|
||
|
if (__malloc_initialized < 1)
|
||
|
@@ -159,6 +160,7 @@ __malloc_fork_lock_parent (void)
|
||
|
}
|
||
|
|
||
|
void
|
||
|
+internal_function
|
||
|
__malloc_fork_unlock_parent (void)
|
||
|
{
|
||
|
if (__malloc_initialized < 1)
|
||
|
@@ -175,6 +177,7 @@ __malloc_fork_unlock_parent (void)
|
||
|
}
|
||
|
|
||
|
void
|
||
|
+internal_function
|
||
|
__malloc_fork_unlock_child (void)
|
||
|
{
|
||
|
if (__malloc_initialized < 1)
|