diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-01 01:30:21 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-01 01:30:21 +0200 |
commit | 221135d6bf256c85b4aeb08881d6262f6eaadff4 (patch) | |
tree | b2e09621cefeb03e184e80ea0373c3f7bb26c913 /proto | |
parent | c00d31befab5a7e932231f7a8050547c72c94631 (diff) | |
download | bird-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 'proto')
-rw-r--r-- | proto/ospf/ospf.h | 2 | ||||
-rw-r--r-- | proto/ospf/topology.c | 3 | ||||
-rw-r--r-- | proto/rip/auth.c | 2 | ||||
-rw-r--r-- | proto/rip/rip.c | 2 | ||||
-rw-r--r-- | proto/static/static.c | 2 |
5 files changed, 3 insertions, 8 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index c07d334..c2db08d 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 12eff1e..f32476d 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 a14cb95..b18c2b4 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 09bf5a2..4634ae1 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 1aee2c7..7df62ed 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" |