djdelorie / rpms / glibc

Forked from rpms/glibc 3 years ago
Clone
c3f1918
commit 186fe877f3df0b84d57dfbf0386f6332c6aa69bc
c3f1918
Author: Florian Weimer <fweimer@redhat.com>
c3f1918
Date:   Thu Apr 14 12:53:03 2016 +0200
c3f1918
c3f1918
    malloc: Add missing internal_function attributes on function definitions
c3f1918
    
c3f1918
    Fixes build on i386 after commit 29d794863cd6e03115d3670707cc873a9965ba92.
c3f1918
c3f1918
Index: b/malloc/arena.c
c3f1918
===================================================================
c3f1918
--- a/malloc/arena.c
c3f1918
+++ b/malloc/arena.c
c3f1918
@@ -144,6 +144,7 @@ int __malloc_initialized = -1;
c3f1918
    subsystem.  */
c3f1918
 
c3f1918
 void
c3f1918
+internal_function
c3f1918
 __malloc_fork_lock_parent (void)
c3f1918
 {
c3f1918
   if (__malloc_initialized < 1)
c3f1918
@@ -163,6 +164,7 @@ __malloc_fork_lock_parent (void)
c3f1918
 }
c3f1918
 
c3f1918
 void
c3f1918
+internal_function
c3f1918
 __malloc_fork_unlock_parent (void)
c3f1918
 {
c3f1918
   if (__malloc_initialized < 1)
c3f1918
@@ -179,6 +181,7 @@ __malloc_fork_unlock_parent (void)
c3f1918
 }
c3f1918
 
c3f1918
 void
c3f1918
+internal_function
c3f1918
 __malloc_fork_unlock_child (void)
c3f1918
 {
c3f1918
   if (__malloc_initialized < 1)