diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-06 20:37:26 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-06 20:37:26 +0000 |
commit | 1b8212423d18de6bee414454b78481a5287cd496 (patch) | |
tree | b81cb624dca9bcd5543ae5ba8cf213ba6abf4ed2 /cpukit/libnetworking/rtems | |
parent | Modified to explicitly list all files as part of C_PIECES. (diff) | |
download | rtems-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 'cpukit/libnetworking/rtems')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_select.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_showroute.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_syscall.c | 2 |
3 files changed, 3 insertions, 3 deletions
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> |