summaryrefslogtreecommitdiff
path: root/include/net/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/if.h')
-rw-r--r--include/net/if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/if.h b/include/net/if.h
index 4cb641407..67636e0fc 100644
--- a/include/net/if.h
+++ b/include/net/if.h
@@ -190,7 +190,7 @@ struct ifconf
__BEGIN_DECLS
/* Convert an interface name to an index, and vice versa. */
-extern unsigned int if_nametoindex (__const char *__ifname) __THROW;
+extern unsigned int if_nametoindex (const char *__ifname) __THROW;
libc_hidden_proto(if_nametoindex)
extern char *if_indextoname (unsigned int __ifindex, char *__ifname) __THROW;