Hi Mike,

I haven't added the prototype to get attribute_hidden apply, it is for gcc 
complaining:
warning: no previous prototype for '__uClibc_init'

Peter
-------- Original-Nachricht --------
> Datum: Tue, 22 Mar 2011 10:43:17 -0400
> Von: Mike Frysinger <[email protected]>
> An: [email protected]
> CC: "Peter S. Mazinger" <[email protected]>
> Betreff: Re: [git commit future 1/1] __uClibc_main.c: make __uClibc_init 
> hidden

> On Sat, Mar 19, 2011 at 2:51 PM, Khem Raj <[email protected]> wrote:
> > -extern void __uClibc_init(void);
> > -libc_hidden_proto(__uClibc_init)
> > +extern void __uClibc_init(void) attribute_hidden;
> >  void __uClibc_init(void)
> >  {
> 
> no need for a prototype.  simply put attribute_hidden before the def.
> -mike

-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!                       
Jetzt informieren: http://www.gmx.net/de/go/freephone


-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to