diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-06 13:25:09 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-06 13:25:09 +0000 |
commit | a921f29db08ac413f92a9736332f9f0d1090f089 (patch) | |
tree | f785247404923de430ad9655fd9a7a707375ebf3 /libc | |
parent | 7de0d7394e2058a039fd124aaaf987fb717fb6ca (diff) | |
download | uClibc-alpine-a921f29db08ac413f92a9736332f9f0d1090f089.tar.bz2 uClibc-alpine-a921f29db08ac413f92a9736332f9f0d1090f089.tar.xz |
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')
-rw-r--r-- | libc/inet/resolv.c | 2 |
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) { |