[git commit] libc: Fix _obstack_newchunk public symbol vis

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jun 28 13:14:46 UTC 2013


commit: http://git.uclibc.org/uClibc/commit/?id=736d9eee2731ba8c442ada629b14f4887cafaae2
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

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 at gmail.com>
---
 libc/misc/gnu/obstack.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/libc/misc/gnu/obstack.c b/libc/misc/gnu/obstack.c
index abe8ca3..38cfd83 100644
--- a/libc/misc/gnu/obstack.c
+++ b/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.  */
   h->maybe_empty_object = 0;
 }
-# if 0
-libc_hidden_def (_obstack_newchunk)
-# endif
+libc_hidden_def(_obstack_newchunk)
 
 /* Return nonzero if object OBJ has been allocated from obstack H.
    This is here for debugging.


More information about the uClibc-cvs mailing list