1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

replaced malloc.h with stdlib.h to quiet compiler

This commit is contained in:
Seth Alves
1998-10-01 20:51:15 +00:00
parent 7066a79c63
commit e7f12e6577
5 changed files with 5 additions and 5 deletions

2
SAX.c
View File

@ -3,7 +3,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <malloc.h> #include <stdlib.h>
#include "tree.h" #include "tree.h"
#include "parser.h" #include "parser.h"
#include "error.h" #include "error.h"

View File

@ -7,7 +7,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <malloc.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "entities.h" #include "entities.h"

View File

@ -15,7 +15,7 @@
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
#include <string.h> /* for memset() only */ #include <string.h> /* for memset() only */
#include <malloc.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#ifdef HAVE_FCNTL_H #ifdef HAVE_FCNTL_H
#include <fcntl.h> #include <fcntl.h>

View File

@ -24,7 +24,7 @@
#endif #endif
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <malloc.h> #include <stdlib.h>
#include "parser.h" #include "parser.h"
#include "tree.h" #include "tree.h"

2
tree.c
View File

@ -11,7 +11,7 @@
#include "config.h" #include "config.h"
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
#include <malloc.h> #include <stdlib.h>
#include <string.h> /* for memset() only ! */ #include <string.h> /* for memset() only ! */
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H