svn commit: trunk/uClibc/libc/inet

Bernd Schmidt bernds_cb1 at
Fri Jun 6 13:31:44 UTC 2008

vda at wrote:

> Remove superfluous attribute_hidden from function
> definition. I seems to produce spurious warning:
> libc/inet/resolv.c:1549: warning: 'visibility' attribute ignored on non-class types
> (seems like gcc bug)

> -FILE * attribute_hidden __open_etc_hosts(void)
> +FILE * __open_etc_hosts(void)

I suspect you got bitten by the C declaration syntax.  The above looks 
like it applies attribute_hidden to the pointer type FILE *.

This footer brought to you by insane German lawmakers.
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif

More information about the uClibc mailing list