4.115
Last change
on this file since 38c0b112 was
9b4422a2,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24
|
Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
-
Property mode set to
100644
|
File size:
675 bytes
|
Line | |
---|
1 | /* |
---|
2 | * sbrk.c |
---|
3 | * |
---|
4 | * If the BSP wants to dynamically allocate the memory for the |
---|
5 | * C Library heap (malloc) and/or be able to extend the heap, |
---|
6 | * then this routine must be functional. This is the default |
---|
7 | * implementation which raises an error. |
---|
8 | * |
---|
9 | * COPYRIGHT (c) 1989-1999. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.com/license/LICENSE. |
---|
15 | */ |
---|
16 | |
---|
17 | #include <rtems.h> |
---|
18 | |
---|
19 | #include <signal.h> |
---|
20 | #include <errno.h> |
---|
21 | #include <sys/types.h> |
---|
22 | #include <unistd.h> |
---|
23 | |
---|
24 | void * sbrk(ptrdiff_t incr) |
---|
25 | { |
---|
26 | errno = ENOMEM; |
---|
27 | return (void *)-1; |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.