diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 19:45:02 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 19:45:02 +0000 |
commit | 6f7dc709ed7e403af224b0fbb91e9619629eb2ec (patch) | |
tree | 349296ed6e3d73f390409bf96fa4269d1ac20ec7 /libc/inet/if_index.c | |
parent | 2d997660372123ab6ac1ee519b22fe015eaa787b (diff) |
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/inet/if_index.c')
-rw-r--r-- | libc/inet/if_index.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/inet/if_index.c b/libc/inet/if_index.c index fd0b901a1..2a687bb89 100644 --- a/libc/inet/if_index.c +++ b/libc/inet/if_index.c @@ -44,6 +44,7 @@ libc_hidden_proto(close) extern int __opensock(void) attribute_hidden; +libc_hidden_proto(if_nametoindex) unsigned int if_nametoindex(const char* ifname) { @@ -71,9 +72,9 @@ if_nametoindex(const char* ifname) return ifr.ifr_ifindex; #endif } -libc_hidden_proto(if_nametoindex) libc_hidden_def(if_nametoindex) +libc_hidden_proto(if_freenameindex) void if_freenameindex (struct if_nameindex *ifn) { @@ -85,9 +86,9 @@ if_freenameindex (struct if_nameindex *ifn) } free (ifn); } -libc_hidden_proto(if_freenameindex) libc_hidden_def(if_freenameindex) +libc_hidden_proto(if_nameindex) #if !__ASSUME_NETLINK_SUPPORT struct if_nameindex * if_nameindex (void) @@ -283,7 +284,6 @@ if_nameindex (void) return idx; } #endif -libc_hidden_proto(if_nameindex) libc_hidden_def(if_nameindex) #if 0 |