forked from Imagelibrary/rtems
2000-10-30 Joel Sherrill <joel@OARcorp.com>
* POSIX include files merged into newlib. This resulted in some definitions moving to other files and thus some secondary effects in RTEMS source code. * sbrk.c: Corrected prototype to match newlib.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2000-10-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* POSIX include files merged into newlib. This resulted in
|
||||||
|
some definitions moving to other files and thus some secondary
|
||||||
|
effects in RTEMS source code.
|
||||||
|
* sbrk.c: Corrected prototype to match newlib.
|
||||||
|
|
||||||
2000-08-10 Joel Sherrill <joel@OARcorp.com>
|
2000-08-10 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* ChangeLog: New file.
|
* ChangeLog: New file.
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
void * sbrk(size_t incr)
|
void * sbrk(ptrdiff_t incr)
|
||||||
{
|
{
|
||||||
errno = ENOMEM;
|
errno = ENOMEM;
|
||||||
return (void *)-1;
|
return (void *)-1;
|
||||||
|
|||||||
Reference in New Issue
Block a user