From a921f29db08ac413f92a9736332f9f0d1090f089 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 6 Jun 2008 13:25:09 +0000 Subject: 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) and it is not really needed - attribute_hidden was already specified in function _declaration_ so it is not necessary here. No code changes (verified with objdump). --- libc/inet/resolv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/inet') diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c index dc53934e1..033e3e1e8 100644 --- a/libc/inet/resolv.c +++ b/libc/inet/resolv.c @@ -1545,7 +1545,7 @@ libc_hidden_def(gethostbyaddr) #ifdef L_read_etc_hosts_r -FILE * attribute_hidden __open_etc_hosts(void) +FILE * __open_etc_hosts(void) { FILE * fp; if ((fp = fopen("/etc/hosts", "r")) == NULL) { -- cgit v1.2.3