]> 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>
Mon, 9 May 2016 09:22:01 +0000 (11:22 +0200)
Fixes build on i386 after commit 29d794863cd6e03115d3670707cc873a9965ba92.

(cherry picked from commit 186fe877f3df0b84d57dfbf0386f6332c6aa69bc)

ChangeLog
malloc/arena.c

index c36fca4b2277c818dec973d0a788236e93331d50..85a0733097267266dce9678df765567f6ca69ad3 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  Florian Weimer  <fweimer@redhat.com>
 
        Remove malloc hooks from fork handler.  They are no longer needed
index 1c70b3516dd465133c421154d3540de29284ace0..47715b618a8697602213365d30a5900e96ea90ce 100644 (file)
@@ -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)