summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/ciptool.c2
-rw-r--r--tools/csr.c1
-rw-r--r--tools/dfutool.c1
-rw-r--r--tools/l2ping.c2
4 files changed, 2 insertions, 4 deletions
diff --git a/tools/ciptool.c b/tools/ciptool.c
index 7d95953f..886e20aa 100644
--- a/tools/ciptool.c
+++ b/tools/ciptool.c
@@ -30,7 +30,7 @@
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
-#include <malloc.h>
+#include <string.h>
#include <getopt.h>
#include <signal.h>
#include <sys/poll.h>
diff --git a/tools/csr.c b/tools/csr.c
index 7895363c..b32e4162 100644
--- a/tools/csr.c
+++ b/tools/csr.c
@@ -30,7 +30,6 @@
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
-#include <malloc.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/mman.h>
diff --git a/tools/dfutool.c b/tools/dfutool.c
index 7a8c8dee..246d92a4 100644
--- a/tools/dfutool.c
+++ b/tools/dfutool.c
@@ -33,7 +33,6 @@
#include <stdint.h>
#include <stdlib.h>
#include <getopt.h>
-#include <malloc.h>
#include <string.h>
#include <libgen.h>
#include <endian.h>
diff --git a/tools/l2ping.c b/tools/l2ping.c
index 1be911ae..1e2aab6d 100644
--- a/tools/l2ping.c
+++ b/tools/l2ping.c
@@ -31,7 +31,7 @@
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
-#include <malloc.h>
+#include <string.h>
#include <getopt.h>
#include <signal.h>
#include <sys/time.h>