From dc6b394df014ae45c2c78648a40cd3ce9ab8c133 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 10 Jul 2010 14:30:26 +0000 Subject: 2010-07-10 Joel Sherrill * libcsupport/Makefile.am: Remove these files as they are uused. * libcsupport/src/__brk.c, libcsupport/src/__sbrk.c: Removed. --- cpukit/ChangeLog | 5 +++++ cpukit/libcsupport/Makefile.am | 2 +- cpukit/libcsupport/src/__brk.c | 31 ------------------------------- cpukit/libcsupport/src/__sbrk.c | 31 ------------------------------- 4 files changed, 6 insertions(+), 63 deletions(-) delete mode 100644 cpukit/libcsupport/src/__brk.c delete mode 100644 cpukit/libcsupport/src/__sbrk.c 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 + + * libcsupport/Makefile.am: Remove these files as they are uused. + * libcsupport/src/__brk.c, libcsupport/src/__sbrk.c: Removed. + 2010-07-10 Joel Sherrill * 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 -#include - -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 - -void * __sbrk( - int incr __attribute__((unused)) -) -{ - errno = EINVAL; - return (void *)0; -} -#endif -- cgit v1.2.3