Modified to avoid conflicts on definitions of malloc. newlib 1.8.2

now prototypes the malloc family in stdlib.h.  This causes conflicts
with the way the network stack overrides the definitions of malloc.
As best I (being Joel) can tell, commenting stdlib.h out keeps the
files compiling and referencing the desired malloc/free but results
in more warnings.
This commit is contained in:
Joel Sherrill
1999-10-06 20:37:26 +00:00
parent 3adc848dbe
commit 1b8212423d
10 changed files with 10 additions and 10 deletions

View File

@@ -4,7 +4,7 @@
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
/* #include <stdlib.h> */
#include <stdio.h>
#include <rtems.h>

View File

@@ -2,7 +2,7 @@
* $Id$
*/
#include <stdlib.h>
/* #include <stdlib.h> */
#include <sys/param.h>
#include <sys/queue.h>

View File

@@ -4,7 +4,7 @@
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
/* #include <stdlib.h> */
#include <stdio.h>
#include <rtems.h>

View File

@@ -17,7 +17,7 @@
#include <pcibios.h>
#endif
#include <stdlib.h>
/* #include <stdlib.h> */
#include <stdio.h>
#include <stdarg.h>
#include <rtems/error.h>

View File

@@ -4,7 +4,7 @@
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
/* #include <stdlib.h> */
#include <stdio.h>
#include <rtems.h>

View File

@@ -2,7 +2,7 @@
* $Id$
*/
#include <stdlib.h>
/* #include <stdlib.h> */
#include <sys/param.h>
#include <sys/queue.h>

View File

@@ -4,7 +4,7 @@
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
/* #include <stdlib.h> */
#include <stdio.h>
#include <rtems.h>

View File

@@ -4,7 +4,7 @@
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
/* #include <stdlib.h> */
#include <stdio.h>
#include <rtems.h>

View File

@@ -2,7 +2,7 @@
* $Id$
*/
#include <stdlib.h>
/* #include <stdlib.h> */
#include <sys/param.h>
#include <sys/queue.h>

View File

@@ -4,7 +4,7 @@
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
/* #include <stdlib.h> */
#include <stdio.h>
#include <rtems.h>