From: Bernhard Reutner-Fischer Date: Sun, 2 Apr 2006 21:14:19 +0000 (-0000) Subject: - janitorial: include proper prototypes in libiproute. X-Git-Tag: 1_2_0~598 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9a67ca309c3487c8d3192fa518d5795e570646f5;p=oweals%2Fbusybox.git - janitorial: include proper prototypes in libiproute. --- 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 @@ #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 ada685f4e..c4c446463 100644 --- a/networking/libiproute/ll_addr.c +++ b/networking/libiproute/ll_addr.c @@ -12,7 +12,10 @@ #include #include #include + +#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 873253050..9ee5ab23f 100644 --- a/networking/libiproute/ll_proto.c +++ b/networking/libiproute/ll_proto.c @@ -12,6 +12,8 @@ #include #include #include + +#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 fc5a01530..a38ecc7c0 100644 --- a/networking/libiproute/ll_types.c +++ b/networking/libiproute/ll_types.c @@ -13,6 +13,8 @@ #include +#include "rt_names.h" + const char * ll_type_n2a(int type, char *buf, int len) { #define __PF(f,n) { ARPHRD_##f, #n },