[PATCH] include/obstack.h: do not hide _obstack_newchunk

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sun Jun 23 18:16:27 UTC 2013


On 23 June 2013 18:14:08 "Anthony G. Basile" <basile at opensource.dyc.edu> wrote:
> From: "Anthony G. Basile" <blueness at gentoo.org>
>
> Programs using obstacks, like the suite of utilities provided by
> coreutils, need _obstack_newchunk so we unhide the symbol.

Eh, that sounds pretty broken. Are you sure this is the right thing to do? 
They should most likely obstack_*grow() instead.

Please fix coreutils instead, or better yet, use Busybox.
Thanks,
>
> Signed-off-by: Anthony G. Basile <blueness at gentoo.org>
> ---
>  include/obstack.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/include/obstack.h b/include/obstack.h
> index 8ef0b7a..076df7d 100644
> --- a/include/obstack.h
> +++ b/include/obstack.h
> @@ -179,7 +179,6 @@ struct obstack		/* control current object in current 
> chunk */
>  /* Declare the external functions we use; they are in obstack.c.  */
>
>  extern void _obstack_newchunk (struct obstack *, int);
> -libc_hidden_proto(_obstack_newchunk)
>  extern int _obstack_begin (struct obstack *, int, int,
>  			    void *(*) (long), void (*) (void *));
>  extern int _obstack_begin_1 (struct obstack *, int, int,
> --
> 1.8.1.5
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc


Sent with AquaMail for Android
http://www.aqua-mail.com




More information about the uClibc mailing list