Use stdlib.h instead of malloc.h
authorJens Axboe <axboe@kernel.dk>
Mon, 23 Jul 2018 16:05:49 +0000 (10:05 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Jul 2018 16:05:49 +0000 (10:05 -0600)
A few more conversions.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
gclient.c
gerror.c
goptions.c
graph.c
tickmarks.c

index bcd7a8808f705e932380819757ebcb6314852b78..7e5071d65b420315aea022b7d2dccce65dde74da 100644 (file)
--- a/gclient.c
+++ b/gclient.c
@@ -1,4 +1,4 @@
-#include <malloc.h>
+#include <stdlib.h>
 #include <string.h>
 
 #include <glib.h>
index 43bdabae2839f8a23ce052bbe1962728a0c297d5..1ebcb272fa3a839fa366667e145415f37f5d90e6 100644 (file)
--- a/gerror.c
+++ b/gerror.c
@@ -1,5 +1,5 @@
 #include <locale.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <string.h>
 #include <stdarg.h>
 
index 16938eda141641b298434a626498dd087ff60752..f44254bf38df5dcea4f0c5ca08f0bc3c3608d531 100644 (file)
@@ -1,5 +1,5 @@
 #include <locale.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <string.h>
 
 #include <glib.h>
diff --git a/graph.c b/graph.c
index f82b52add468f95b5d8d180618a971f04bb79cc6..7a174170c7562fe7b13b27506ba0b68709d3df00 100644 (file)
--- a/graph.c
+++ b/graph.c
@@ -21,7 +21,7 @@
  *
  */
 #include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <math.h>
 #include <assert.h>
 #include <stdlib.h>
index 808de676e758120ca6531f9d1328871ef4d9b402..88bace09dc945de34cbf3be94ef465cfa6a834af 100644 (file)
@@ -1,6 +1,6 @@
 #include <stdio.h>
 #include <math.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <string.h>
 
 /*