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:
Joel Sherrill
2000-10-31 16:35:52 +00:00
parent 72ad6aac90
commit 7ede0e7698
2 changed files with 8 additions and 1 deletions

View File

@@ -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>
* ChangeLog: New file.

View File

@@ -23,7 +23,7 @@
#include <sys/types.h>
#include <unistd.h>
void * sbrk(size_t incr)
void * sbrk(ptrdiff_t incr)
{
errno = ENOMEM;
return (void *)-1;