summaryrefslogtreecommitdiffstats
path: root/client
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 /client
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 'client')
-rw-r--r--client/client.c2
-rw-r--r--client/commands.c2
-rw-r--r--client/util.c1
3 files changed, 2 insertions, 3 deletions
diff --git a/client/client.c b/client/client.c
index 568ea2f..5381577 100644
--- a/client/client.c
+++ b/client/client.c
@@ -7,7 +7,6 @@
*/
#include <stdio.h>
-#include <string.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
@@ -21,6 +20,7 @@
#include "nest/bird.h"
#include "lib/resource.h"
+#include "lib/string.h"
#include "client/client.h"
static char *opt_list = "s:v";
diff --git a/client/commands.c b/client/commands.c
index fdcb6d2..aa00be0 100644
--- a/client/commands.c
+++ b/client/commands.c
@@ -7,11 +7,11 @@
*/
#include <stdio.h>
-#include <string.h>
#include <ctype.h>
#include "nest/bird.h"
#include "lib/resource.h"
+#include "lib/string.h"
#include "client/client.h"
struct cmd_info {
diff --git a/client/util.c b/client/util.c
index 9f1a16b..451bb60 100644
--- a/client/util.c
+++ b/client/util.c
@@ -7,7 +7,6 @@
*/
#include <stdio.h>
-#include <string.h>
#include <stdlib.h>
#include <stdarg.h>