diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-19 06:23:59 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-20 09:49:38 +0200 |
commit | a4429391b6bb9673cace35bb69edf35951fc6742 (patch) | |
tree | 2c78e428250fd1be07322c589fd631dfee826a2f /c/src/lib/libbsp/shared | |
parent | bsps: Move shared CPU counter support to bsps (diff) | |
download | rtems-a4429391b6bb9673cace35bb69edf35951fc6742.tar.bz2 |
bsps: Move sbrk.c to bsps
This patch is a part of the BSP source reorganization.
Update #3285.
Diffstat (limited to 'c/src/lib/libbsp/shared')
-rw-r--r-- | c/src/lib/libbsp/shared/sbrk.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/c/src/lib/libbsp/shared/sbrk.c b/c/src/lib/libbsp/shared/sbrk.c deleted file mode 100644 index 5138b29678..0000000000 --- a/c/src/lib/libbsp/shared/sbrk.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - * sbrk.c - * - * If the BSP wants to dynamically allocate the memory for the - * C Library heap (malloc) and/or be able to extend the heap, - * then this routine must be functional. This is the default - * implementation which raises an error. - * - * 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.org/license/LICENSE. - */ - -#include <rtems.h> - -#include <signal.h> -#include <errno.h> -#include <sys/types.h> -#include <unistd.h> - -void * sbrk(ptrdiff_t incr) -{ - errno = ENOMEM; - return (void *)-1; -} |