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 /sysdep/unix | |
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 'sysdep/unix')
-rw-r--r-- | sysdep/unix/io.c | 1 | ||||
-rw-r--r-- | sysdep/unix/krt-iface.c | 2 | ||||
-rw-r--r-- | sysdep/unix/krt-set.c | 2 | ||||
-rw-r--r-- | sysdep/unix/main.c | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 0925609..1ee1c07 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -8,7 +8,6 @@ #include <stdio.h> #include <stdlib.h> -#include <string.h> #include <sys/time.h> #include <sys/types.h> #include <sys/socket.h> diff --git a/sysdep/unix/krt-iface.c b/sysdep/unix/krt-iface.c index da3df2d..bd4a40a 100644 --- a/sysdep/unix/krt-iface.c +++ b/sysdep/unix/krt-iface.c @@ -6,7 +6,6 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ -#include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> @@ -22,6 +21,7 @@ #include "nest/protocol.h" #include "lib/timer.h" #include "lib/krt.h" +#include "lib/string.h" #include "unix.h" diff --git a/sysdep/unix/krt-set.c b/sysdep/unix/krt-set.c index 7242450..bd56448 100644 --- a/sysdep/unix/krt-set.c +++ b/sysdep/unix/krt-set.c @@ -6,7 +6,6 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ -#include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> @@ -21,6 +20,7 @@ #include "nest/protocol.h" #include "lib/unix.h" #include "lib/krt.h" +#include "lib/string.h" int krt_capable(rte *e) diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c index dcd921f..121ec9d 100644 --- a/sysdep/unix/main.c +++ b/sysdep/unix/main.c @@ -9,7 +9,6 @@ #define LOCAL_DEBUG #include <stdio.h> -#include <string.h> #include <stdlib.h> #include <fcntl.h> #include <unistd.h> @@ -20,6 +19,7 @@ #include "lib/resource.h" #include "lib/socket.h" #include "lib/event.h" +#include "lib/string.h" #include "nest/route.h" #include "nest/protocol.h" #include "nest/iface.h" |