diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-09-04 13:22:58 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-09-04 13:22:58 +0000 |
commit | 0901c515183de69c73a9385a33f7464bc0219204 (patch) | |
tree | 14fe75e854c8d77cc5fec687ba469acad4bc8f8e /networking/libiproute | |
parent | 161931efa510e641d72465378bfc6ce8373d2cd7 (diff) | |
download | busybox-w32-0901c515183de69c73a9385a33f7464bc0219204.tar.gz busybox-w32-0901c515183de69c73a9385a33f7464bc0219204.tar.bz2 busybox-w32-0901c515183de69c73a9385a33f7464bc0219204.zip |
- add WIP stub for tc.
Printing worked at some point. Modify/Delete needs some refacturing.
Diffstat (limited to 'networking/libiproute')
-rw-r--r-- | networking/libiproute/ll_proto.c | 3 | ||||
-rw-r--r-- | networking/libiproute/rt_names.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/networking/libiproute/ll_proto.c b/networking/libiproute/ll_proto.c index 8d9637408..0707fe08e 100644 --- a/networking/libiproute/ll_proto.c +++ b/networking/libiproute/ll_proto.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/if_ether.h> | 20 | #include <linux/if_ether.h> |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | #ifdef UNUSED | 23 | #warning de-bloat |
24 | /* Before re-enabling this, please (1) conditionalize exotic protocols | 24 | /* Before re-enabling this, please (1) conditionalize exotic protocols |
25 | * on CONFIG_something, and (2) decouple strings and numbers | 25 | * on CONFIG_something, and (2) decouple strings and numbers |
26 | * (use llproto_ids[] = n,n,n..; and llproto_names[] = "loop\0" "pup\0" ...;) | 26 | * (use llproto_ids[] = n,n,n..; and llproto_names[] = "loop\0" "pup\0" ...;) |
@@ -123,4 +123,3 @@ int ll_proto_a2n(unsigned short *id, char *buf) | |||
123 | return 0; | 123 | return 0; |
124 | } | 124 | } |
125 | 125 | ||
126 | #endif /* UNUSED */ | ||
diff --git a/networking/libiproute/rt_names.h b/networking/libiproute/rt_names.h index 60baa3f16..3d68b67c8 100644 --- a/networking/libiproute/rt_names.h +++ b/networking/libiproute/rt_names.h | |||
@@ -24,10 +24,9 @@ extern const char* ll_addr_n2a(unsigned char *addr, int alen, int type, | |||
24 | char *buf, int blen); | 24 | char *buf, int blen); |
25 | extern int ll_addr_a2n(unsigned char *lladdr, int len, char *arg); | 25 | extern int ll_addr_a2n(unsigned char *lladdr, int len, char *arg); |
26 | 26 | ||
27 | #ifdef UNUSED | 27 | |
28 | extern const char* ll_proto_n2a(unsigned short id, char *buf, int len); | 28 | extern const char* ll_proto_n2a(unsigned short id, char *buf, int len); |
29 | extern int ll_proto_a2n(unsigned short *id, char *buf); | 29 | extern int ll_proto_a2n(unsigned short *id, char *buf); |
30 | #endif | ||
31 | 30 | ||
32 | #if __GNUC_PREREQ(4,1) | 31 | #if __GNUC_PREREQ(4,1) |
33 | # pragma GCC visibility pop | 32 | # pragma GCC visibility pop |