[Toybox] [PATCH 2/2] Remove unused include and constants

Eric Molitor emolitor at molitor.org
Tue May 26 08:58:32 PDT 2020


---
 toys/pending/route.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/toys/pending/route.c b/toys/pending/route.c
index 0acca6c8..0d5e4449 100644
--- a/toys/pending/route.c
+++ b/toys/pending/route.c
@@ -48,20 +48,14 @@ config ROUTE
 
 #define FOR_route
 #include "toys.h"
-#include <net/route.h>
 #include <linux/rtnetlink.h>
 
 GLOBALS(
   char *family;
 )
 
-#define DEFAULT_PREFIXLEN 128
-#define INVALID_ADDR 0xffffffffUL
-#define IPV6_ADDR_LEN 40 //32 + 7 (':') + 1 ('\0')
-
 struct _arglist {
   char *arg;
-
   int action;
 };
 
-- 
2.25.1




More information about the Toybox mailing list