From 221135d6bf256c85b4aeb08881d6262f6eaadff4 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 31 Mar 2000 23:30:21 +0000 Subject: Include "lib/string.h" instead of . It should give us bzero() and other non-portable functions on all systems. --- nest/cli.c | 2 -- nest/proto.c | 2 -- nest/rt-attr.c | 2 +- nest/rt-dev.c | 3 +-- nest/rt-fib.c | 3 +-- nest/rt-table.c | 3 +-- 6 files changed, 4 insertions(+), 11 deletions(-) (limited to 'nest') 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 - #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 - #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 #include #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 - #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 - #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 - #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; -- cgit v1.2.3