summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-06-28 15:14:46 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-06-28 15:14:46 +0200
commit736d9eee2731ba8c442ada629b14f4887cafaae2 (patch)
treecb0417bce06cfeb191b6c03d8a2ebe63077e3c6a
parent975bca165c3e10e74c05c0384fd58f45a7025a3c (diff)
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>
-rw-r--r--libc/misc/gnu/obstack.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/misc/gnu/obstack.c b/libc/misc/gnu/obstack.c
index abe8ca3fd..38cfd83de 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.