about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-04-14 12:53:03 +0200
committerFlorian Weimer <fweimer@redhat.com>2016-04-14 12:54:22 +0200
commit186fe877f3df0b84d57dfbf0386f6332c6aa69bc (patch)
treebcc5fb7599869acf38aa09730a74d8779f057f3c
parentb1b8f5d89d06a994773e22ad4b7fe1036b37f8ab (diff)
downloadglibc-186fe877f3df0b84d57dfbf0386f6332c6aa69bc.tar.gz
glibc-186fe877f3df0b84d57dfbf0386f6332c6aa69bc.tar.xz
glibc-186fe877f3df0b84d57dfbf0386f6332c6aa69bc.zip
malloc: Add missing internal_function attributes on function definitions
Fixes build on i386 after commit 29d794863cd6e03115d3670707cc873a9965ba92.
-rw-r--r--ChangeLog6
-rw-r--r--malloc/arena.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 09dd2d0c25..3d3da39ed4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
 
 	* stdio-common/printf_fp.c (__printf_fp_l):
diff --git a/malloc/arena.c b/malloc/arena.c
index 8bf81712bb..1dd9deef0e 100644
--- a/malloc/arena.c
+++ b/malloc/arena.c
@@ -136,6 +136,7 @@ int __malloc_initialized = -1;
    subsystem.  */
 
 void
+internal_function
 __malloc_fork_lock_parent (void)
 {
   if (__malloc_initialized < 1)
@@ -156,6 +157,7 @@ __malloc_fork_lock_parent (void)
 }
 
 void
+internal_function
 __malloc_fork_unlock_parent (void)
 {
   if (__malloc_initialized < 1)
@@ -172,6 +174,7 @@ __malloc_fork_unlock_parent (void)
 }
 
 void
+internal_function
 __malloc_fork_unlock_child (void)
 {
   if (__malloc_initialized < 1)