summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-06 20:37:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-06 20:37:26 +0000
commit1b8212423d18de6bee414454b78481a5287cd496 (patch)
treeb81cb624dca9bcd5543ae5ba8cf213ba6abf4ed2
parentModified to explicitly list all files as part of C_PIECES. (diff)
downloadrtems-1b8212423d18de6bee414454b78481a5287cd496.tar.bz2
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.
Diffstat (limited to '')
-rw-r--r--c/src/exec/libnetworking/rtems/rtems_select.c2
-rw-r--r--c/src/exec/libnetworking/rtems/rtems_showroute.c2
-rw-r--r--c/src/exec/libnetworking/rtems/rtems_syscall.c2
-rw-r--r--c/src/lib/libbsp/powerpc/mvme2307/network/network.c2
-rw-r--r--c/src/libnetworking/rtems/rtems_select.c2
-rw-r--r--c/src/libnetworking/rtems/rtems_showroute.c2
-rw-r--r--c/src/libnetworking/rtems/rtems_syscall.c2
-rw-r--r--cpukit/libnetworking/rtems/rtems_select.c2
-rw-r--r--cpukit/libnetworking/rtems/rtems_showroute.c2
-rw-r--r--cpukit/libnetworking/rtems/rtems_syscall.c2
10 files changed, 10 insertions, 10 deletions
diff --git a/c/src/exec/libnetworking/rtems/rtems_select.c b/c/src/exec/libnetworking/rtems/rtems_select.c
index 2219c145f3..9a58456e00 100644
--- a/c/src/exec/libnetworking/rtems/rtems_select.c
+++ b/c/src/exec/libnetworking/rtems/rtems_select.c
@@ -4,7 +4,7 @@
#include <string.h>
#include <stdarg.h>
-#include <stdlib.h>
+/* #include <stdlib.h> */
#include <stdio.h>
#include <rtems.h>
diff --git a/c/src/exec/libnetworking/rtems/rtems_showroute.c b/c/src/exec/libnetworking/rtems/rtems_showroute.c
index b8196de8d3..e471ccc58c 100644
--- a/c/src/exec/libnetworking/rtems/rtems_showroute.c
+++ b/c/src/exec/libnetworking/rtems/rtems_showroute.c
@@ -2,7 +2,7 @@
* $Id$
*/
-#include <stdlib.h>
+/* #include <stdlib.h> */
#include <sys/param.h>
#include <sys/queue.h>
diff --git a/c/src/exec/libnetworking/rtems/rtems_syscall.c b/c/src/exec/libnetworking/rtems/rtems_syscall.c
index 72fb43688e..05217f7212 100644
--- a/c/src/exec/libnetworking/rtems/rtems_syscall.c
+++ b/c/src/exec/libnetworking/rtems/rtems_syscall.c
@@ -4,7 +4,7 @@
#include <string.h>
#include <stdarg.h>
-#include <stdlib.h>
+/* #include <stdlib.h> */
#include <stdio.h>
#include <rtems.h>
diff --git a/c/src/lib/libbsp/powerpc/mvme2307/network/network.c b/c/src/lib/libbsp/powerpc/mvme2307/network/network.c
index 6e4e0b2ed2..6f147ec6f0 100644
--- a/c/src/lib/libbsp/powerpc/mvme2307/network/network.c
+++ b/c/src/lib/libbsp/powerpc/mvme2307/network/network.c
@@ -17,7 +17,7 @@
#include <pcibios.h>
#endif
-#include <stdlib.h>
+/* #include <stdlib.h> */
#include <stdio.h>
#include <stdarg.h>
#include <rtems/error.h>
diff --git a/c/src/libnetworking/rtems/rtems_select.c b/c/src/libnetworking/rtems/rtems_select.c
index 2219c145f3..9a58456e00 100644
--- a/c/src/libnetworking/rtems/rtems_select.c
+++ b/c/src/libnetworking/rtems/rtems_select.c
@@ -4,7 +4,7 @@
#include <string.h>
#include <stdarg.h>
-#include <stdlib.h>
+/* #include <stdlib.h> */
#include <stdio.h>
#include <rtems.h>
diff --git a/c/src/libnetworking/rtems/rtems_showroute.c b/c/src/libnetworking/rtems/rtems_showroute.c
index b8196de8d3..e471ccc58c 100644
--- a/c/src/libnetworking/rtems/rtems_showroute.c
+++ b/c/src/libnetworking/rtems/rtems_showroute.c
@@ -2,7 +2,7 @@
* $Id$
*/
-#include <stdlib.h>
+/* #include <stdlib.h> */
#include <sys/param.h>
#include <sys/queue.h>
diff --git a/c/src/libnetworking/rtems/rtems_syscall.c b/c/src/libnetworking/rtems/rtems_syscall.c
index 72fb43688e..05217f7212 100644
--- a/c/src/libnetworking/rtems/rtems_syscall.c
+++ b/c/src/libnetworking/rtems/rtems_syscall.c
@@ -4,7 +4,7 @@
#include <string.h>
#include <stdarg.h>
-#include <stdlib.h>
+/* #include <stdlib.h> */
#include <stdio.h>
#include <rtems.h>
diff --git a/cpukit/libnetworking/rtems/rtems_select.c b/cpukit/libnetworking/rtems/rtems_select.c
index 2219c145f3..9a58456e00 100644
--- a/cpukit/libnetworking/rtems/rtems_select.c
+++ b/cpukit/libnetworking/rtems/rtems_select.c
@@ -4,7 +4,7 @@
#include <string.h>
#include <stdarg.h>
-#include <stdlib.h>
+/* #include <stdlib.h> */
#include <stdio.h>
#include <rtems.h>
diff --git a/cpukit/libnetworking/rtems/rtems_showroute.c b/cpukit/libnetworking/rtems/rtems_showroute.c
index b8196de8d3..e471ccc58c 100644
--- a/cpukit/libnetworking/rtems/rtems_showroute.c
+++ b/cpukit/libnetworking/rtems/rtems_showroute.c
@@ -2,7 +2,7 @@
* $Id$
*/
-#include <stdlib.h>
+/* #include <stdlib.h> */
#include <sys/param.h>
#include <sys/queue.h>
diff --git a/cpukit/libnetworking/rtems/rtems_syscall.c b/cpukit/libnetworking/rtems/rtems_syscall.c
index 72fb43688e..05217f7212 100644
--- a/cpukit/libnetworking/rtems/rtems_syscall.c
+++ b/cpukit/libnetworking/rtems/rtems_syscall.c
@@ -4,7 +4,7 @@
#include <string.h>
#include <stdarg.h>
-#include <stdlib.h>
+/* #include <stdlib.h> */
#include <stdio.h>
#include <rtems.h>