projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f77810
)
- janitorial: include proper prototypes in libiproute.
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Sun, 2 Apr 2006 21:14:19 +0000
(21:14 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Sun, 2 Apr 2006 21:14:19 +0000
(21:14 -0000)
networking/libiproute/iproute.c
patch
|
blob
|
history
networking/libiproute/ll_addr.c
patch
|
blob
|
history
networking/libiproute/ll_proto.c
patch
|
blob
|
history
networking/libiproute/ll_types.c
patch
|
blob
|
history
diff --git
a/networking/libiproute/iproute.c
b/networking/libiproute/iproute.c
index 7b513005013e8e1337b16f788216561baf5cd72a..cb750e628430270b48ef7d8519091cc4f44ff771 100644
(file)
--- 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 ada685f4eba9750412aecf6d7f5831ce91782b23..c4c44646319dd0884d6c8aa65693f893f4e764f2 100644
(file)
--- 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 873253050d2832e0f7dde468ef0ff5209ebe530b..9ee5ab23f8159df78cd6c16ec095d0b84e462749 100644
(file)
--- 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 fc5a015302bff68521cbd41f87393dfc24d81f17..a38ecc7c0880281545b3d31e61eaea4fa2c6a6d8 100644
(file)
--- 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 },