diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-10 14:30:26 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-10 14:30:26 +0000 |
commit | dc6b394df014ae45c2c78648a40cd3ce9ab8c133 (patch) | |
tree | 26ad32cd3114b33d576ad5ef023d9736dc8ac1bc /cpukit | |
parent | 2010-07-10 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-dc6b394df014ae45c2c78648a40cd3ce9ab8c133.tar.bz2 |
2010-07-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libcsupport/Makefile.am: Remove these files as they are uused.
* libcsupport/src/__brk.c, libcsupport/src/__sbrk.c: Removed.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libcsupport/Makefile.am | 2 | ||||
-rw-r--r-- | cpukit/libcsupport/src/__brk.c | 31 | ||||
-rw-r--r-- | cpukit/libcsupport/src/__sbrk.c | 31 |
4 files changed, 6 insertions, 63 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 1b4c2002b8..047cdf4228 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2010-07-10 Joel Sherrill <joel.sherrilL@OARcorp.com> + + * libcsupport/Makefile.am: Remove these files as they are uused. + * libcsupport/src/__brk.c, libcsupport/src/__sbrk.c: Removed. + 2010-07-10 Joel Sherrill <joel.sherrill@oarcorp.com> * libcsupport/src/__times.c: Formatting. diff --git a/cpukit/libcsupport/Makefile.am b/cpukit/libcsupport/Makefile.am index 8cdf7973d1..ec2260c9a3 100644 --- a/cpukit/libcsupport/Makefile.am +++ b/cpukit/libcsupport/Makefile.am @@ -86,7 +86,7 @@ ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \ MALLOC_C_FILES = src/malloc_initialize.c src/calloc.c src/malloc.c \ src/realloc.c src/_calloc_r.c src/_malloc_r.c \ src/free.c src/freenode.c src/_free_r.c \ - src/_realloc_r.c src/__brk.c src/__sbrk.c src/mallocfreespace.c \ + src/_realloc_r.c src/mallocfreespace.c \ src/mallocinfo.c src/malloc_walk.c src/malloc_get_statistics.c \ src/malloc_report_statistics.c src/malloc_report_statistics_plugin.c \ src/malloc_statistics_helpers.c src/posix_memalign.c \ diff --git a/cpukit/libcsupport/src/__brk.c b/cpukit/libcsupport/src/__brk.c deleted file mode 100644 index 1a358d14cd..0000000000 --- a/cpukit/libcsupport/src/__brk.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * RTEMS "Broken" __brk Implementation - * - * NOTE: sbrk() is provided by each BSP. - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#if defined(RTEMS_NEWLIB) && !defined(HAVE___BRK) - -#include <errno.h> -#include <rtems/seterr.h> - -int __brk( - const void *endds __attribute__((unused)) -) -{ - rtems_set_errno_and_return_minus_one( EINVAL ); -} -#endif diff --git a/cpukit/libcsupport/src/__sbrk.c b/cpukit/libcsupport/src/__sbrk.c deleted file mode 100644 index c80178f9f0..0000000000 --- a/cpukit/libcsupport/src/__sbrk.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * RTEMS "Broken" __sbrk Implementation - * - * NOTE: sbrk is provided by the BSP. - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#if defined(RTEMS_NEWLIB) && !defined(HAVE___SBRK) - -#include <errno.h> - -void * __sbrk( - int incr __attribute__((unused)) -) -{ - errno = EINVAL; - return (void *)0; -} -#endif |