summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-06 13:25:09 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-06 13:25:09 +0000
commita921f29db08ac413f92a9736332f9f0d1090f089 (patch)
treef785247404923de430ad9655fd9a7a707375ebf3 /libc/inet
parent7de0d7394e2058a039fd124aaaf987fb717fb6ca (diff)
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).
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/resolv.c2
1 files changed, 1 insertions, 1 deletions
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) {