summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-01 01:30:21 +0200
committerMartin Mares <mj@ucw.cz>2000-04-01 01:30:21 +0200
commit221135d6bf256c85b4aeb08881d6262f6eaadff4 (patch)
treeb2e09621cefeb03e184e80ea0373c3f7bb26c913 /nest
parentc00d31befab5a7e932231f7a8050547c72c94631 (diff)
downloadbird-221135d6bf256c85b4aeb08881d6262f6eaadff4.tar
bird-221135d6bf256c85b4aeb08881d6262f6eaadff4.zip
Include "lib/string.h" instead of <string.h>. It should give us bzero()
and other non-portable functions on all systems.
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 661178c..f7432a5 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 95988ce..c6a3d7d 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 8dc2e7e..63f596e 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 d42ed15..1ad5600 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 4d89876..6a8f800 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 68ef52a..d04d06e 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;