summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
Diffstat (limited to 'nest')
-rw-r--r--nest/cli.c2
-rw-r--r--nest/proto.c2
-rw-r--r--nest/rt-attr.c2
-rw-r--r--nest/rt-dev.c3
-rw-r--r--nest/rt-fib.c3
-rw-r--r--nest/rt-table.c3
6 files changed, 4 insertions, 11 deletions
diff --git a/nest/cli.c b/nest/cli.c
index 661178c4..f7432a55 100644
--- a/nest/cli.c
+++ b/nest/cli.c
@@ -6,8 +6,6 @@
* Can be freely distributed and used under the terms of the GNU GPL.
*/
-#include <string.h>
-
#include "nest/bird.h"
#include "nest/cli.h"
#include "conf/conf.h"
diff --git a/nest/proto.c b/nest/proto.c
index 95988ce5..c6a3d7d4 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -8,8 +8,6 @@
#undef LOCAL_DEBUG
-#include <string.h>
-
#include "nest/bird.h"
#include "nest/protocol.h"
#include "lib/resource.h"
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index 8dc2e7eb..63f596ef 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -6,7 +6,6 @@
* Can be freely distributed and used under the terms of the GNU GPL.
*/
-#include <string.h>
#include <alloca.h>
#include "nest/bird.h"
@@ -15,6 +14,7 @@
#include "nest/iface.h"
#include "nest/cli.h"
#include "lib/resource.h"
+#include "lib/string.h"
static slab *rta_slab;
static pool *rta_pool;
diff --git a/nest/rt-dev.c b/nest/rt-dev.c
index d42ed157..1ad56009 100644
--- a/nest/rt-dev.c
+++ b/nest/rt-dev.c
@@ -8,8 +8,6 @@
#undef LOCAL_DEBUG
-#include <string.h>
-
#include "nest/bird.h"
#include "nest/iface.h"
#include "nest/protocol.h"
@@ -17,6 +15,7 @@
#include "nest/rt-dev.h"
#include "conf/conf.h"
#include "lib/resource.h"
+#include "lib/string.h"
static void
dev_ifa_notify(struct proto *p, unsigned c, struct ifa *ad)
diff --git a/nest/rt-fib.c b/nest/rt-fib.c
index 4d898763..6a8f8009 100644
--- a/nest/rt-fib.c
+++ b/nest/rt-fib.c
@@ -8,10 +8,9 @@
#undef LOCAL_DEBUG
-#include <string.h>
-
#include "nest/bird.h"
#include "nest/route.h"
+#include "lib/string.h"
#define HASH_DEF_ORDER 10
#define HASH_HI_MARK *4
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 68ef52a9..d04d06e2 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -6,8 +6,6 @@
* Can be freely distributed and used under the terms of the GNU GPL.
*/
-#include <string.h>
-
#undef LOCAL_DEBUG
#include "nest/bird.h"
@@ -20,6 +18,7 @@
#include "lib/string.h"
#include "conf/conf.h"
#include "filter/filter.h"
+#include "lib/string.h"
static slab *rte_slab;
static linpool *rte_update_pool;