forked from Imagelibrary/rtems
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:
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
/* #include <stdlib.h> */
|
||||
#include <stdio.h>
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
/* #include <stdlib.h> */
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/queue.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
/* #include <stdlib.h> */
|
||||
#include <stdio.h>
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <pcibios.h>
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
/* #include <stdlib.h> */
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <rtems/error.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
/* #include <stdlib.h> */
|
||||
#include <stdio.h>
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
/* #include <stdlib.h> */
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/queue.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
/* #include <stdlib.h> */
|
||||
#include <stdio.h>
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
/* #include <stdlib.h> */
|
||||
#include <stdio.h>
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
/* #include <stdlib.h> */
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/queue.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
/* #include <stdlib.h> */
|
||||
#include <stdio.h>
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
Reference in New Issue
Block a user