summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>1998-10-01 20:51:15 +0000
committerSeth Alves <alves@src.gnome.org>1998-10-01 20:51:15 +0000
commite7f12e6577a74ee4f0ca9dfaadace9b6644dd119 (patch)
tree3ad5eb9746a4a53ea835705c82057ac73c8461fb
parent7066a79c637760234dac2729e1048979f05ed30a (diff)
downloadlibxml2-e7f12e6577a74ee4f0ca9dfaadace9b6644dd119.tar.gz
replaced malloc.h with stdlib.h to quiet compiler
-rw-r--r--SAX.c2
-rw-r--r--entities.c2
-rw-r--r--parser.c2
-rw-r--r--tester.c2
-rw-r--r--tree.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/SAX.c b/SAX.c
index 17a8277a..b3583cfe 100644
--- a/SAX.c
+++ b/SAX.c
@@ -3,7 +3,7 @@
*/
#include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "tree.h"
#include "parser.h"
#include "error.h"
diff --git a/entities.c b/entities.c
index 47b7cfa1..5a788e61 100644
--- a/entities.c
+++ b/entities.c
@@ -7,7 +7,7 @@
*/
#include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h>
#include "entities.h"
diff --git a/parser.c b/parser.c
index 1b3b384e..6553b283 100644
--- a/parser.c
+++ b/parser.c
@@ -15,7 +15,7 @@
#include <stdio.h>
#include <ctype.h>
#include <string.h> /* for memset() only */
-#include <malloc.h>
+#include <stdlib.h>
#include <sys/stat.h>
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
diff --git a/tester.c b/tester.c
index 0075ad73..2efbcb7e 100644
--- a/tester.c
+++ b/tester.c
@@ -24,7 +24,7 @@
#endif
#include <stdio.h>
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "parser.h"
#include "tree.h"
diff --git a/tree.c b/tree.c
index 2719074d..dd203182 100644
--- a/tree.c
+++ b/tree.c
@@ -11,7 +11,7 @@
#include "config.h"
#include <stdio.h>
#include <ctype.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h> /* for memset() only ! */
#ifdef HAVE_ZLIB_H