]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
malloc: Add missing internal_function attributes on function definitions
authorFlorian Weimer <fweimer@redhat.com>
Thu, 14 Apr 2016 10:53:03 +0000 (12:53 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 14 Apr 2016 10:54:22 +0000 (12:54 +0200)
Fixes build on i386 after commit 29d794863cd6e03115d3670707cc873a9965ba92.

ChangeLog
malloc/arena.c

index 09dd2d0c2542056f7ebfb4135d3db4f4b47d18fe..3d3da39ed4ce1715f302be1f993ec7d12f767951 100644 (file)
--- 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):
index 8bf81712bbb5d34f1d572fe530c6bd6cc5139a0d..1dd9deef0edc71d7c674cffdcc625671390fd040 100644 (file)
@@ -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)