aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute')
-rw-r--r--networking/libiproute/ll_proto.c3
-rw-r--r--networking/libiproute/rt_names.h3
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 @@
#include <linux/if_ether.h>
#endif
-#ifdef UNUSED
+#warning de-bloat
/* Before re-enabling this, please (1) conditionalize exotic protocols
* on CONFIG_something, and (2) decouple strings and numbers
* (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)
return 0;
}
-#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,
char *buf, int blen);
extern int ll_addr_a2n(unsigned char *lladdr, int len, char *arg);
-#ifdef UNUSED
+
extern const char* ll_proto_n2a(unsigned short id, char *buf, int len);
extern int ll_proto_a2n(unsigned short *id, char *buf);
-#endif
#if __GNUC_PREREQ(4,1)
# pragma GCC visibility pop