Эх сурвалжийг харах

libc: Fix _obstack_newchunk public symbol vis

975bca165c3e10e74c05c0384fd58f45a7025a3c avoided relocations to
_obstack_newchunk used by obstack_vprintf but missed to enable the
corresponding public symbol which is used by the obstack macros.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 12 жил өмнө
parent
commit
736d9eee27

+ 1 - 3
libc/misc/gnu/obstack.c

@@ -322,9 +322,7 @@ _obstack_newchunk (struct obstack *h, int length)
   /* The new chunk certainly contains no empty object yet.  */
   /* The new chunk certainly contains no empty object yet.  */
   h->maybe_empty_object = 0;
   h->maybe_empty_object = 0;
 }
 }
-# if 0
+libc_hidden_def(_obstack_newchunk)
-libc_hidden_def (_obstack_newchunk)
-# endif
 
 
 /* Return nonzero if object OBJ has been allocated from obstack H.
 /* Return nonzero if object OBJ has been allocated from obstack H.
    This is here for debugging.
    This is here for debugging.