summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/ospf.h2
-rw-r--r--proto/ospf/topology.c3
-rw-r--r--proto/rip/auth.c2
-rw-r--r--proto/rip/rip.c2
-rw-r--r--proto/static/static.c2
5 files changed, 3 insertions, 8 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index c07d3347..c2db08d1 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -13,8 +13,6 @@
#define SIPH 64 /* FIXME Size Of IP header */
-#include <string.h>
-
#include "nest/bird.h"
#include "lib/checksum.h"
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index 12eff1e8..f32476df 100644
--- a/proto/ospf/topology.c
+++ b/proto/ospf/topology.c
@@ -9,9 +9,8 @@
#define LOCAL_DEBUG
-#include <string.h>
-
#include "nest/bird.h"
+#include "lib/string.h"
#include "ospf.h"
diff --git a/proto/rip/auth.c b/proto/rip/auth.c
index a14cb95a..b18c2b4f 100644
--- a/proto/rip/auth.c
+++ b/proto/rip/auth.c
@@ -9,7 +9,6 @@
#define LOCAL_DEBUG
-#include <string.h>
#include <stdlib.h>
#include "nest/bird.h"
@@ -21,6 +20,7 @@
#include "lib/lists.h"
#include "lib/timer.h"
#include "lib/md5.h"
+#include "lib/string.h"
#include "rip.h"
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 09bf5a2e..4634ae1f 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -27,7 +27,6 @@
#define LOCAL_DEBUG
-#include <string.h>
#include <stdlib.h>
#include <stdio.h>
@@ -39,6 +38,7 @@
#include "lib/resource.h"
#include "lib/lists.h"
#include "lib/timer.h"
+#include "lib/string.h"
#include "rip.h"
diff --git a/proto/static/static.c b/proto/static/static.c
index 1aee2c7b..7df62ed0 100644
--- a/proto/static/static.c
+++ b/proto/static/static.c
@@ -8,8 +8,6 @@
#undef LOCAL_DEBUG
-#include <string.h>
-
#include "nest/bird.h"
#include "nest/iface.h"
#include "nest/protocol.h"