summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/net/if.c')
-rw-r--r--cpukit/libnetworking/net/if.c4
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;