diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-02 21:14:19 +0000 |
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-02 21:14:19 +0000 |
| commit | 9a67ca309c3487c8d3192fa518d5795e570646f5 (patch) | |
| tree | 1dc8311dc60cf1b68410fcc7d9e76431467bf1a2 | |
| parent | 7f778106335924f80aeefd9602adf9e36bae96af (diff) | |
| download | busybox-w32-9a67ca309c3487c8d3192fa518d5795e570646f5.tar.gz busybox-w32-9a67ca309c3487c8d3192fa518d5795e570646f5.tar.bz2 busybox-w32-9a67ca309c3487c8d3192fa518d5795e570646f5.zip | |
- janitorial: include proper prototypes in libiproute.
| -rw-r--r-- | networking/libiproute/iproute.c | 1 | ||||
| -rw-r--r-- | networking/libiproute/ll_addr.c | 3 | ||||
| -rw-r--r-- | networking/libiproute/ll_proto.c | 2 | ||||
| -rw-r--r-- | networking/libiproute/ll_types.c | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c index 7b5130050..cb750e628 100644 --- a/networking/libiproute/iproute.c +++ b/networking/libiproute/iproute.c | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | 22 | ||
| 23 | #include "rt_names.h" | 23 | #include "rt_names.h" |
| 24 | #include "utils.h" | 24 | #include "utils.h" |
| 25 | #include "ip_common.h" | ||
| 25 | 26 | ||
| 26 | #include "libbb.h" | 27 | #include "libbb.h" |
| 27 | 28 | ||
diff --git a/networking/libiproute/ll_addr.c b/networking/libiproute/ll_addr.c index ada685f4e..c4c446463 100644 --- a/networking/libiproute/ll_addr.c +++ b/networking/libiproute/ll_addr.c | |||
| @@ -12,7 +12,10 @@ | |||
| 12 | #include <arpa/inet.h> | 12 | #include <arpa/inet.h> |
| 13 | #include <string.h> | 13 | #include <string.h> |
| 14 | #include <net/if_arp.h> | 14 | #include <net/if_arp.h> |
| 15 | |||
| 16 | #include "rt_names.h" | ||
| 15 | #include "utils.h" | 17 | #include "utils.h" |
| 18 | |||
| 16 | #include "libbb.h" | 19 | #include "libbb.h" |
| 17 | 20 | ||
| 18 | const char *ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int blen) | 21 | 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 873253050..9ee5ab23f 100644 --- a/networking/libiproute/ll_proto.c +++ b/networking/libiproute/ll_proto.c | |||
| @@ -12,6 +12,8 @@ | |||
| 12 | #include <stdio.h> | 12 | #include <stdio.h> |
| 13 | #include <arpa/inet.h> | 13 | #include <arpa/inet.h> |
| 14 | #include <string.h> | 14 | #include <string.h> |
| 15 | |||
| 16 | #include "rt_names.h" | ||
| 15 | #include "utils.h" | 17 | #include "utils.h" |
| 16 | 18 | ||
| 17 | #if __GLIBC__ >=2 && __GLIBC_MINOR >= 1 | 19 | #if __GLIBC__ >=2 && __GLIBC_MINOR >= 1 |
diff --git a/networking/libiproute/ll_types.c b/networking/libiproute/ll_types.c index fc5a01530..a38ecc7c0 100644 --- a/networking/libiproute/ll_types.c +++ b/networking/libiproute/ll_types.c | |||
| @@ -13,6 +13,8 @@ | |||
| 13 | 13 | ||
| 14 | #include <linux/if_arp.h> | 14 | #include <linux/if_arp.h> |
| 15 | 15 | ||
| 16 | #include "rt_names.h" | ||
| 17 | |||
| 16 | const char * ll_type_n2a(int type, char *buf, int len) | 18 | const char * ll_type_n2a(int type, char *buf, int len) |
| 17 | { | 19 | { |
| 18 | #define __PF(f,n) { ARPHRD_##f, #n }, | 20 | #define __PF(f,n) { ARPHRD_##f, #n }, |
