Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/net/ifname.c')
-rw-r--r--newlib/libc/sys/linux/net/ifname.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/sys/linux/net/ifname.c b/newlib/libc/sys/linux/net/ifname.c
index b7975bc2b..d2609b1ba 100644
--- a/newlib/libc/sys/linux/net/ifname.c
+++ b/newlib/libc/sys/linux/net/ifname.c
@@ -125,7 +125,8 @@ struct if_nameindex *
if_nameindex()
{
size_t needed;
- int mib[6], i, ifn = 0, off = 0, hlen;
+ int mib[6], ifn = 0, off = 0, hlen;
+ unsigned int i;
char *buf = NULL, *lim, *next, *cp, *ifbuf = NULL;
struct rt_msghdr *rtm;
struct if_msghdr *ifm;