From 9a67ca309c3487c8d3192fa518d5795e570646f5 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 2 Apr 2006 21:14:19 +0000 Subject: [PATCH] - janitorial: include proper prototypes in libiproute. --- networking/libiproute/iproute.c | 1 + networking/libiproute/ll_addr.c | 3 +++ networking/libiproute/ll_proto.c | 2 ++ networking/libiproute/ll_types.c | 2 ++ 4 files changed, 8 insertions(+) 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 }, -- 2.25.1