svn commit: trunk/uClibc/libc/inet

Daniel Jacobowitz drow at false.org
Fri Jun 6 15:52:23 UTC 2008


On Fri, Jun 06, 2008 at 04:27:25PM +0200, Denys Vlasenko wrote:
> Possibly. I tried
> 
> FILE * __open_etc_hosts(void) attribute_hidden { ...
> 
> - that didn't work at all. So I decided to just take advantage
> of the fact that we already have extern decl with attribute_hidden
> at the beginning of this file.
> 
> In hindsight, maybe it wants this?!
> 
> FILE * __open_etc_hosts attribute_hidden (void) { ...

No, I believe it's this:

attribute_hidden FILE * __open_etc_hosts (void) { ...

-- 
Daniel Jacobowitz
CodeSourcery



More information about the uClibc mailing list