From 7ede0e7698222c989f2c28f6234801e748f297d8 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 31 Oct 2000 16:35:52 +0000 Subject: 2000-10-30 Joel Sherrill * 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. --- c/src/lib/libbsp/shared/sbrk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/shared/sbrk.c') diff --git a/c/src/lib/libbsp/shared/sbrk.c b/c/src/lib/libbsp/shared/sbrk.c index b6c5a07263..bd934b120e 100644 --- a/c/src/lib/libbsp/shared/sbrk.c +++ b/c/src/lib/libbsp/shared/sbrk.c @@ -23,7 +23,7 @@ #include #include -void * sbrk(size_t incr) +void * sbrk(ptrdiff_t incr) { errno = ENOMEM; return (void *)-1; -- cgit v1.2.3