diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-22 09:15:11 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-22 09:25:11 +0200 |
commit | e800b0738b05e683ab64e509e4b48170c71dbd2b (patch) | |
tree | 214f638a5667c5762200ac775b4fb995e01855f9 /cpukit/libnetworking/net | |
parent | network: Ensure matching syscall prototypes (diff) | |
download | rtems-e800b0738b05e683ab64e509e4b48170c71dbd2b.tar.bz2 |
network: Fix warnings
Diffstat (limited to 'cpukit/libnetworking/net')
-rw-r--r-- | cpukit/libnetworking/net/if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/net/if.c b/cpukit/libnetworking/net/if.c index 64f9aaebb8..d0da62af39 100644 --- a/cpukit/libnetworking/net/if.c +++ b/cpukit/libnetworking/net/if.c @@ -435,7 +435,7 @@ if_slowtimo(void *arg) * Map interface name to * interface structure pointer. */ -struct ifnet * +static struct ifnet * ifunit(char *name) { char *cp; @@ -715,7 +715,7 @@ ifconf(u_long cmd, caddr_t data) struct ifconf *ifc = (struct ifconf *)data; struct ifnet *ifp = ifnet; struct ifaddr *ifa; - struct ifreq ifr, *ifrp; + struct ifreq ifr; char *ifrpc; int space = ifc->ifc_len, error = 0; |