summaryrefslogtreecommitdiffstats
path: root/libc/inet/if_index.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-27 18:21:33 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-27 18:21:33 +0000
commit28c8634afdc1fa236679b49ab0d5a019379c6db1 (patch)
treefda9d6e124a32799b07247f8d38d0cc8f963cd4e /libc/inet/if_index.c
parenteb38b2d34c32ed3089e2bf8935219a57f84ce7b3 (diff)
downloaduClibc-alpine-28c8634afdc1fa236679b49ab0d5a019379c6db1.tar.bz2
uClibc-alpine-28c8634afdc1fa236679b49ab0d5a019379c6db1.tar.xz
Synch with trunk @ 24165
Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
Diffstat (limited to 'libc/inet/if_index.c')
-rw-r--r--libc/inet/if_index.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/inet/if_index.c b/libc/inet/if_index.c
index a37c44a81..968cd37c1 100644
--- a/libc/inet/if_index.c
+++ b/libc/inet/if_index.c
@@ -40,7 +40,7 @@
/* Experimentally off - libc_hidden_proto(strncpy) */
/* Experimentally off - libc_hidden_proto(strdup) */
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
/* libc_hidden_proto(close) */
#if __ASSUME_NETLINK_SUPPORT
/* Experimentally off - libc_hidden_proto(strndup) */
@@ -48,7 +48,7 @@ libc_hidden_proto(ioctl)
extern int __opensock(void) attribute_hidden;
-libc_hidden_proto(if_nametoindex)
+/* libc_hidden_proto(if_nametoindex) */
unsigned int
if_nametoindex(const char* ifname)
{
@@ -86,7 +86,7 @@ if_nametoindex(const char* ifname)
}
libc_hidden_def(if_nametoindex)
-libc_hidden_proto(if_freenameindex)
+/* libc_hidden_proto(if_freenameindex) */
void
if_freenameindex (struct if_nameindex *ifn)
{
@@ -100,7 +100,7 @@ if_freenameindex (struct if_nameindex *ifn)
}
libc_hidden_def(if_freenameindex)
-libc_hidden_proto(if_nameindex)
+/* libc_hidden_proto(if_nameindex) */
#if !__ASSUME_NETLINK_SUPPORT
struct if_nameindex *
if_nameindex (void)