summaryrefslogtreecommitdiff
path: root/libc/inet/if_index.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-06 04:52:34 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-06 04:52:34 +0000
commitd2d573391d1cb10aa4f9ac4125741810354dd740 (patch)
tree34e3e820aaba690fbc66d92c7ac7b581078c2160 /libc/inet/if_index.c
parentc894dd3cbd66ac582d1b206f628c45fc59479991 (diff)
create __if_nametoindex hidden alias and use it
Diffstat (limited to 'libc/inet/if_index.c')
-rw-r--r--libc/inet/if_index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/if_index.c b/libc/inet/if_index.c
index abfb26e00..dfddbc0d4 100644
--- a/libc/inet/if_index.c
+++ b/libc/inet/if_index.c
@@ -65,6 +65,7 @@ if_nametoindex(const char* ifname)
return ifr.ifr_ifindex;
#endif
}
+hidden_strong_alias(if_nametoindex,__if_nametoindex)
void
if_freenameindex (struct if_nameindex *ifn)