[git commit future 1/1] __uClibc_main.c: make __uClibc_init hidden

Peter Mazinger ps.m at gmx.net
Tue Mar 22 15:08:10 UTC 2011


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 <vapier at gentoo.org>
> An: uclibc at uclibc.org
> CC: "Peter S. Mazinger" <ps.m at gmx.net>
> 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 <raj.khem at gmail.com> 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


More information about the uClibc mailing list