summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-04-02 21:14:19 +0000
committerBernhard Reutner-Fischer2006-04-02 21:14:19 +0000
commit9a67ca309c3487c8d3192fa518d5795e570646f5 (patch)
tree1dc8311dc60cf1b68410fcc7d9e76431467bf1a2
parent7f778106335924f80aeefd9602adf9e36bae96af (diff)
downloadbusybox-9a67ca309c3487c8d3192fa518d5795e570646f5.zip
busybox-9a67ca309c3487c8d3192fa518d5795e570646f5.tar.gz
- janitorial: include proper prototypes in libiproute.
-rw-r--r--networking/libiproute/iproute.c1
-rw-r--r--networking/libiproute/ll_addr.c3
-rw-r--r--networking/libiproute/ll_proto.c2
-rw-r--r--networking/libiproute/ll_types.c2
4 files changed, 8 insertions, 0 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index 7b51300..cb750e6 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -22,6 +22,7 @@
#include "rt_names.h"
#include "utils.h"
+#include "ip_common.h"
#include "libbb.h"
diff --git a/networking/libiproute/ll_addr.c b/networking/libiproute/ll_addr.c
index ada685f..c4c4464 100644
--- a/networking/libiproute/ll_addr.c
+++ b/networking/libiproute/ll_addr.c
@@ -12,7 +12,10 @@
#include <arpa/inet.h>
#include <string.h>
#include <net/if_arp.h>
+
+#include "rt_names.h"
#include "utils.h"
+
#include "libbb.h"
const char *ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int blen)
diff --git a/networking/libiproute/ll_proto.c b/networking/libiproute/ll_proto.c
index 8732530..9ee5ab2 100644
--- a/networking/libiproute/ll_proto.c
+++ b/networking/libiproute/ll_proto.c
@@ -12,6 +12,8 @@
#include <stdio.h>
#include <arpa/inet.h>
#include <string.h>
+
+#include "rt_names.h"
#include "utils.h"
#if __GLIBC__ >=2 && __GLIBC_MINOR >= 1
diff --git a/networking/libiproute/ll_types.c b/networking/libiproute/ll_types.c
index fc5a015..a38ecc7 100644
--- a/networking/libiproute/ll_types.c
+++ b/networking/libiproute/ll_types.c
@@ -13,6 +13,8 @@
#include <linux/if_arp.h>
+#include "rt_names.h"
+
const char * ll_type_n2a(int type, char *buf, int len)
{
#define __PF(f,n) { ARPHRD_##f, #n },