diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-31 23:30:21 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-31 23:30:21 +0000 |
commit | 221135d6bf256c85b4aeb08881d6262f6eaadff4 (patch) | |
tree | b2e09621cefeb03e184e80ea0373c3f7bb26c913 /nest | |
parent | c00d31befab5a7e932231f7a8050547c72c94631 (diff) |
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.c | 2 | ||||
-rw-r--r-- | nest/proto.c | 2 | ||||
-rw-r--r-- | nest/rt-attr.c | 2 | ||||
-rw-r--r-- | nest/rt-dev.c | 3 | ||||
-rw-r--r-- | nest/rt-fib.c | 3 | ||||
-rw-r--r-- | nest/rt-table.c | 3 |
6 files changed, 4 insertions, 11 deletions
@@ -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; |